mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
bitwarden
This commit is contained in:
10
mqtt_srv.py
10
mqtt_srv.py
@@ -311,9 +311,13 @@ def get_ip():
|
||||
finally:
|
||||
s.close()
|
||||
return IP
|
||||
|
||||
|
||||
IP = get_ip()
|
||||
ex = 0
|
||||
while ex == 0:
|
||||
try:
|
||||
IP = get_ip()
|
||||
ex = 1
|
||||
except:
|
||||
time.sleep(5)
|
||||
|
||||
|
||||
print("OS : " + curos)
|
||||
|
||||
Reference in New Issue
Block a user