Skip to content

Commit

Permalink
python 2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jul 3, 2024
1 parent 923d13d commit f683a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thumbor_video_engine/engines/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __getattribute__(self, attr):
# or video_engine class, when appropriate, for self.__class__
if attr == "__class__" and self.__dict__.get("engine"):
return self.__dict__["engine"].__class__
return super().__getattribute__(attr)
return object.__getattribute__(self, attr)

def __getattr__(self, attr):
if not self.__dict__.get('engine'):
Expand Down

0 comments on commit f683a0a

Please sign in to comment.