diff --git a/oscarapi/serializers/fields.py b/oscarapi/serializers/fields.py index b426811c..a9e3c9b7 100644 --- a/oscarapi/serializers/fields.py +++ b/oscarapi/serializers/fields.py @@ -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)