You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this code in a project and while running the linter with type checking enabled (Pylint) I found what look like an error in the decoding of the image size of the JPEG variant here:
More specifically, if the if branch at line 156 is not triggered, the variables h and w are not assigned any value. Thus, line 164 and 165 fails and the image size cannot be computed. Is there something missing in the else branch?
The text was updated successfully, but these errors were encountered:
I'm using this code in a project and while running the linter with type checking enabled (Pylint) I found what look like an error in the decoding of the image size of the JPEG variant here:
image_size/get_image_size.py
Lines 144 to 171 in fb25377
More specifically, if the if branch at line 156 is not triggered, the variables
h
andw
are not assigned any value. Thus, line 164 and 165 fails and the image size cannot be computed. Is there something missing in the else branch?The text was updated successfully, but these errors were encountered: