master
Lukas Schulz 2020-12-20 10:56:57 +01:00
parent 0fd4698671
commit 9884d2d3f1
1 changed files with 3 additions and 2 deletions

View File

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