From ba6432f7c67204bf7a37b6ac1ce7d29527a2a90c Mon Sep 17 00:00:00 2001 From: hollc <380460708@qq.com> Date: Sun, 6 Aug 2023 22:07:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddau=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b676bb4..42440cb 100644 --- a/main.py +++ b/main.py @@ -99,7 +99,7 @@ async def client_main(): plus_func = args.range client.loop.run_until_complete(down_group(client, channel_id, plus_func)) elif args.upload: - del_after_upload = True if args.dau.upper == 'Y' else False + del_after_upload = True if args.dau.upper() == 'Y' else False client.loop.run_until_complete(upload_file(client, args.id, args.path, del_after_upload)) elif args.print: client.loop.run_until_complete(print_group(client, args.id))