fixed variables for getplaceimage

This commit is contained in:
Justin
2023-08-17 13:25:39 +08:00
committed by GitHub
parent 228ae9bdf0
commit 7d1f5c9dd4

View File

@@ -5623,7 +5623,7 @@ class StockTicker():
max_y = img.height - 32 max_y = img.height - 32
x = random.randint(0, max_x) x = random.randint(0, max_x)
y = random.randint(0, max_y) 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) imgs.append(snapshot)
except: except:
pass pass