mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 16:46:35 +01:00
flake8
This commit is contained in:
parent
f71c40e0b8
commit
332667c98b
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class InputFile(object):
|
|||
self.filename = os.path.basename(self.input_file.name)
|
||||
elif from_url:
|
||||
self.filename = os.path.basename(self.input_file.url)\
|
||||
.split('?')[0].split('&')[0]
|
||||
.split('?')[0].split('&')[0]
|
||||
|
||||
try:
|
||||
self.mimetype = InputFile.is_image(self.input_file_content)
|
||||
|
|
Loading…
Reference in a new issue