fixed variables for getplaceimage
This commit is contained in:
parent
228ae9bdf0
commit
7d1f5c9dd4
@ -5623,7 +5623,7 @@ class StockTicker():
|
||||
max_y = img.height - 32
|
||||
x = random.randint(0, max_x)
|
||||
y = random.randint(0, max_y)
|
||||
snapshot = img.crop((x, y, x + snapshot_width, y + snapshot_height))
|
||||
snapshot = img.crop((x, y, x + int(all_settings['width']), y + 32))
|
||||
imgs.append(snapshot)
|
||||
except:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user