Fix while true in IPService Lock
This commit is contained in:
parent
01cb854f50
commit
0e1b767f26
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ def write_ip_to_screen():
|
||||||
Display.write(4, f"IP: {ip}")
|
Display.write(4, f"IP: {ip}")
|
||||||
Display.write(1, datetime.datetime.now().strftime("%b %d %H:%M:%S"))
|
Display.write(1, datetime.datetime.now().strftime("%b %d %H:%M:%S"))
|
||||||
Lock.unlock()
|
Lock.unlock()
|
||||||
time.sleep(10)
|
|
||||||
|
time.sleep(10)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Exception in write ip thread: {e}")
|
print(f"Exception in write ip thread: {e}")
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
Reference in a new issue