This commit is contained in:
Lukas Schulz 2020-12-20 10:56:57 +01:00
parent 0fd4698671
commit 9884d2d3f1

View file

@ -181,10 +181,11 @@ if __name__ == "__main__":
print('led-matrix-viewer started') print('led-matrix-viewer started')
while True: while True:
drawCanvas()
time.sleep(10)
if(is_token_expired()): if(is_token_expired()):
get_access_token() get_access_token()
drawCanvas()
time.sleep(10)