From 66c1baf13c0ea06b080463c4532978cdae7e4359 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 16 May 2023 11:48:48 +0300 Subject: [PATCH] same as last commit --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 3da65b7ab..92d2d321c 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -62,6 +62,7 @@ def images(v): ext = y.group(4) url = f'https://{site}/{id}.{ext}' + print(url, flush=True) try: image_req = requests.get(url, headers=HEADERS, timeout=5) except: continue @@ -89,7 +90,6 @@ def images(v): continue size = os.stat(name).st_size - print(size, flush=True) if not size: continue new_url = f"https://{SITE_IMAGES}{name}"