From dae377d3dbb603b138ce8bf27bf820a23f3e86b8 Mon Sep 17 00:00:00 2001 From: Ground-Zerro Date: Fri, 29 Mar 2024 14:37:10 +1100 Subject: [PATCH] Update main.py --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 239bdd9..7be4bad 100644 --- a/main.py +++ b/main.py @@ -144,7 +144,10 @@ def main(): else: # Interactive service selection while True: - os.system('clear') + if os.name == 'nt': # Для пользователей Windows + os.system('cls') # Очистить экран + else: + os.system('clear') print("Выберите сервисы:\n") print("0 - Отметить все") for idx, (service, url) in enumerate(urls.items(), 1):