From cb89f7e7527459003f9bfa0d1fcae49a389834c8 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 17 Aug 2023 13:27:12 +0800 Subject: [PATCH] close image --- stockTicker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stockTicker.py b/stockTicker.py index abdeaf6..eacf61b 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -5625,6 +5625,7 @@ class StockTicker(): y = random.randint(0, max_y) snapshot = img.crop((x, y, x + int(all_settings['width']), y + 32)) imgs.append(snapshot) + img.close() except: pass