mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
Delete unused check (forget from previous local version)
This commit is contained in:
parent
6237bb636c
commit
8a074fd719
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class InputFile(object):
|
|||
|
||||
if isinstance(self.input_file, file):
|
||||
self.input_file_content = self.input_file.read()
|
||||
if 'filename' in self.data and self.data['filename']:
|
||||
if 'filename' in self.data:
|
||||
self.filename = self.data['filename']
|
||||
else:
|
||||
self.filename = os.path.basename(self.input_file.name)
|
||||
|
|
Loading…
Reference in a new issue