Skip to content

Commit

Permalink
Update tele_upload.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirarism authored Sep 14, 2021
1 parent 804146c commit 4d46e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tortoolkit/functions/tele_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ async def upload_a_file(


def black_list_exts(file):
for i in ["!qb", ".html", ".jpg", ".url", "srt", ".nfo"]:
for i in ["!qb", ".html", ".jpg", ".url", "srt", ".nfo", ".txt", ".exe"]:
if str(file).lower().endswith(i):
return True

Expand Down

0 comments on commit 4d46e69

Please sign in to comment.