You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
327 B

# Здесь ищём порты и обновляем все сайты
from time import sleep
from db import *
from network import *
def update_demon(serv_port):
while True:
try:
ports = port_check(serv_port)
conf = read()
conf["ports"] = ports
write(conf)
sleep(8)
except:
print("UPDATER FALLED")