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 a1c60ab
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 super(Engine, self).__getattribute__(attr)

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

0 comments on commit a1c60ab

Please sign in to comment.