mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-01-18 08:58:48 +00:00
Fix crash
This commit is contained in:
parent
b9aaef110f
commit
a44099a9e0
@ -173,7 +173,10 @@ def client(port, op = "ping", host = 'bore.del.pw'):
|
||||
return "old"
|
||||
|
||||
# Скачиваем файлы
|
||||
g_site = get(f"http://{host}:{str(port)}/{site}.zip")
|
||||
try:
|
||||
g_site = get(f"http://{host}:{str(port)}/{site}.zip")
|
||||
except:
|
||||
return 'error'
|
||||
print('SIZE: ', g_site.headers['Content-Length']) # Размер
|
||||
|
||||
with open(f"verify/{site}.zip", "wb") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user