-
This commit is contained in:
parent
08ff961201
commit
ee19803704
6
app.py
6
app.py
@ -40,9 +40,9 @@ def check_allocation_thread_function():
|
||||
ids = db.get_image_allocation_all()
|
||||
print(ids)
|
||||
for x in ids:
|
||||
print(x)
|
||||
ip = db.get_image_allocation_clientip_id(x)
|
||||
ping_thread = PingThread(ip, x)
|
||||
print(x[0])
|
||||
ip = db.get_image_allocation_clientip_id(x[0])
|
||||
ping_thread = PingThread(ip, x[0])
|
||||
ping_thread.start()
|
||||
|
||||
sleep(10)
|
||||
|
Loading…
Reference in New Issue
Block a user