mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-02-08 01:37:38 +00:00
up
This commit is contained in:
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…
Reference in New Issue
Block a user