diff --git a/stockTicker.py b/stockTicker.py index 178b0c7..abdeaf6 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -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