Skip to content

Commit

Permalink
typeerror
Browse files Browse the repository at this point in the history
  • Loading branch information
Dopeslothe committed Aug 30, 2018
1 parent 3d3c559 commit 6c230a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PublicFreakout.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ def process(submission):
return save(str(e), submission, "Same file error")
except (UnicodeDecodeError) as e:
print(str(e))
return save(str(e), submission, "UnicodeDecodeError")
return save(str(e), submission, "UnicodeDecodeError")
except (TypeError) as e:
return save(str(e), submission, "TypeError")

if listdir("Media") == []:
return save("Download failed", submission, "Media folder empty")
Expand Down

0 comments on commit 6c230a6

Please sign in to comment.