Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
reysiregar authored Aug 2, 2021
1 parent 74b12c4 commit fca6c61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/gets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Union

from pyrogram.types import Message, Audio, Voice
from pyrogram.types import Audio, Message, Voice


def get_url(message_1: Message) -> Union[str, None]:
Expand All @@ -27,7 +27,7 @@ def get_url(message_1: Message) -> Union[str, None]:
if offset in (None,):
return None

return text[offset:offset + length]
return text[offset : offset + length]


def get_file_name(audio: Union[Audio, Voice]):
Expand Down

0 comments on commit fca6c61

Please sign in to comment.