Undefined name

This commit is contained in:
Andrew Murray 2018-10-21 17:16:17 +11:00
parent d1f9803aeb
commit f2d4d19cc4

View File

@ -333,6 +333,7 @@ def _save(im, fp, filename):
provided_images = {im.width: im provided_images = {im.width: im
for im in im.encoderinfo.get("append_images", [])} for im in im.encoderinfo.get("append_images", [])}
last_w = None last_w = None
second_path = None
for w in [16, 32, 128, 256, 512]: for w in [16, 32, 128, 256, 512]:
prefix = 'icon_{}x{}'.format(w, w) prefix = 'icon_{}x{}'.format(w, w)