From 9ab1f1a7cb9b9480356340403cc72feca06311fa Mon Sep 17 00:00:00 2001 From: none Date: Sat, 24 Feb 2024 20:52:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D1=89=D0=B8=D1=82=D0=B0=20=D0=BE?= =?UTF-8?q?=D1=82=20=D0=BF=D0=BE=D0=B4=D0=BC=D0=B5=D0=BD=D1=8B=20=D0=B2?= =?UTF-8?q?=D0=B5=D1=80=D1=81=D0=B8=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- network.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/network.py b/network.py index 89008b8..6c0c6a9 100644 --- a/network.py +++ b/network.py @@ -190,6 +190,8 @@ def client(port, op = "ping"): os.replace(f"verify/{site}.sig", f"cached/{site}.sig") os.replace(f"verify/{site}.pem", f"cached/{site}.pem") # Переносим папку с файлами + if os.path.exists(f'cached/{site}'): + rmtree(f"cached/{site}") copytree(f"verify/{site}", f"cached/{site}") rmtree(f"verify/{site}") else: