-
This commit is contained in:
parent
ee19803704
commit
af3a946d20
2
app.py
2
app.py
@ -38,9 +38,7 @@ class PingThread(threading.Thread):
|
||||
def check_allocation_thread_function():
|
||||
while True:
|
||||
ids = db.get_image_allocation_all()
|
||||
print(ids)
|
||||
for x in ids:
|
||||
print(x[0])
|
||||
ip = db.get_image_allocation_clientip_id(x[0])
|
||||
ping_thread = PingThread(ip, x[0])
|
||||
ping_thread.start()
|
||||
|
Loading…
Reference in New Issue
Block a user