We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f714df commit b1dbb8eCopy full SHA for b1dbb8e
video_cropper/video_cropper.py
@@ -12,7 +12,7 @@ def to_int(a, rel_to):
12
EG: 50% -> 0.5*rel_to
13
'''
14
15
- if isinstance(a):
+ if isinstance(a,int):
16
return a
17
else:
18
if '%' in a:
0 commit comments