Skip to content

Commit

Permalink
don't remove variadics
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries committed Sep 22, 2024
1 parent cdab4d2 commit dc838b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscarapi/serializers/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def __str__(self):
def __bool__(self):
return bool(self.url)

def open(self, mode="rb"):
def open(self, *args, mode="rb", **kwargs):
if not self.closed:
self.seek(0)

Expand Down

0 comments on commit dc838b8

Please sign in to comment.