From 2344513bfdb07363057ce4ab41d890757e77ca54 Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 20 Dec 2020 00:16:55 +0100 Subject: [PATCH] yes. --- main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.py b/main.py index d1e9e63..ec3550e 100644 --- a/main.py +++ b/main.py @@ -29,7 +29,6 @@ options.gpio_slowdown = 4 options.brightness = 50 screen = RGBMatrix(options = options) -changed = True token = util.prompt_for_user_token(username, scope, client_id, client_secret, redirect_uri) @@ -80,8 +79,6 @@ def updateImage(): global canvas canvas = Image.new('RGB', (192, 128), color = 'red') canvas = canvas.paste(get_track(), (0,0)) - global changed - changed = True @@ -92,8 +89,6 @@ if __name__ == "__main__": while True: if (changed): showImage(canvas) - global changed - changed = False