This commit is contained in:
Mateusz779 2023-04-14 11:51:51 +02:00
parent 08ff961201
commit ee19803704

6
app.py
View File

@ -40,9 +40,9 @@ def check_allocation_thread_function():
ids = db.get_image_allocation_all() ids = db.get_image_allocation_all()
print(ids) print(ids)
for x in ids: for x in ids:
print(x) print(x[0])
ip = db.get_image_allocation_clientip_id(x) ip = db.get_image_allocation_clientip_id(x[0])
ping_thread = PingThread(ip, x) ping_thread = PingThread(ip, x[0])
ping_thread.start() ping_thread.start()
sleep(10) sleep(10)