Skip to content

Commit

Permalink
testing cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
odysseusmax committed Jul 22, 2020
1 parent 317dc5b commit f6d1110
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bot/plugins/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ def _upload(c, m):

def get_download_id(storage):
while True:
choice = string.ascii_letters.split()
download_id = ''.join([random.choice(choice) for i in range(3)])
download_id = ''.join([random.choice(string.ascii_letters) for i in range(3)])
if download_id not in storage:
break
return download_id
Expand Down

0 comments on commit f6d1110

Please sign in to comment.