From 465c329fc2427de6e284c324d7e2b6be819cb2e1 Mon Sep 17 00:00:00 2001 From: YueLengM Date: Sat, 28 Aug 2021 10:44:43 +0800 Subject: [PATCH] version 1.0.0 --- cleaner.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cleaner.py b/cleaner.py index b904a9f..31e73f3 100644 --- a/cleaner.py +++ b/cleaner.py @@ -98,8 +98,10 @@ def del_ipt(): Tk().withdraw() ROOT_PATH = filedialog.askdirectory(title="请选择要清理的 Group2 文件夹") -scan() -print() -while True: - output() - del_ipt() +if ROOT_PATH: + os.system('mode con: cols={} lines=20'.format(len(ROOT_PATH) + 50)) + scan() + print() + while True: + output() + del_ipt()