none 8 months ago
parent 671083726d
commit 8418a11507

@ -129,7 +129,7 @@ def client(port, op = "ping"):
if os.path.exists(f"cached/{site}"): if os.path.exists(f"cached/{site}"):
# Версия запрашиваемого # Версия запрашиваемого
dest_conf = get(f"http://{host}:{str(port)}/{site}/config.json") dest_conf = get(f"http://{host}:{str(port)}/{site}/config.json")
conf_unform = dest_ver.content.decode('utf8') conf_unform = dest_conf.content.decode('utf8')
conf = json.loads(conf_unform) conf = json.loads(conf_unform)
dest_ver = conf["ver"] dest_ver = conf["ver"]
# Версия нашего сайта # Версия нашего сайта

Loading…
Cancel
Save