Skip to content

Commit

Permalink
修复dau参数不生效
Browse files Browse the repository at this point in the history
  • Loading branch information
holll committed Aug 6, 2023
1 parent 1fa5b34 commit ba6432f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ba6432f

Please sign in to comment.