close image
This commit is contained in:
parent
7d1f5c9dd4
commit
cb89f7e752
@ -5625,6 +5625,7 @@ class StockTicker():
|
|||||||
y = random.randint(0, max_y)
|
y = random.randint(0, max_y)
|
||||||
snapshot = img.crop((x, y, x + int(all_settings['width']), y + 32))
|
snapshot = img.crop((x, y, x + int(all_settings['width']), y + 32))
|
||||||
imgs.append(snapshot)
|
imgs.append(snapshot)
|
||||||
|
img.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user