arenasys/sd-tagging-helper

crash when scale and save

Closed this issue · 1 comments

Description:
Image: scale / png
Prompt: none
-> crash

Traceback (most recent call last):
File "C:\Users\nobody\Desktop\sd-tagging-helper-master\helper.py", line 333, in run
self.img.writeScale(img_file, self.dim)
File "C:\Users\nobody\Desktop\sd-tagging-helper-master\helper.py", line 486, in writeScale
s = dim/min(w, h)
UnboundLocalError: local variable 'w' referenced before assignment

fixed by bc2c5fe