mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-01-19 01:18:48 +00:00
up
This commit is contained in:
parent
8418a11507
commit
ea25db1c3e
@ -8,8 +8,9 @@ from random import randint
|
||||
from shutil import unpack_archive
|
||||
# Убираем ненужное (../some => some)
|
||||
from re import compile, sub
|
||||
# Работа с БД
|
||||
# Работа с БД и json
|
||||
from db import read
|
||||
from json import loads
|
||||
|
||||
from verify import *
|
||||
from domain_check import *
|
||||
@ -130,7 +131,7 @@ def client(port, op = "ping"):
|
||||
# Версия запрашиваемого
|
||||
dest_conf = get(f"http://{host}:{str(port)}/{site}/config.json")
|
||||
conf_unform = dest_conf.content.decode('utf8')
|
||||
conf = json.loads(conf_unform)
|
||||
conf = loads(conf_unform)
|
||||
dest_ver = conf["ver"]
|
||||
# Версия нашего сайта
|
||||
our_conf = read(f"cached/{site}/config.json")
|
||||
|
Loading…
Reference in New Issue
Block a user