Skip to content

Commit

Permalink
fix: topic message can not download
Browse files Browse the repository at this point in the history
  • Loading branch information
tangyoha committed Jun 18, 2023
1 parent 3272869 commit 196d4fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions module/pyrogram_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ def get_extension(file_id: str, mime_type: str, dot: bool = True) -> str:
if not file_id:
if dot:
return ".unknown"
else:
return "unknown"
return "unknown"

file_type = _get_file_type(file_id)

Expand Down

0 comments on commit 196d4fa

Please sign in to comment.