yes.
This commit is contained in:
parent
0fd4698671
commit
9884d2d3f1
1 changed files with 3 additions and 2 deletions
5
main.py
5
main.py
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue