mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge pull request #57 from rjornetc/patch-1
Replaced mine_type by mime_type
This commit is contained in:
commit
f06bec1a44
@ -244,7 +244,7 @@ class Document(JsonDeserializable):
|
||||
file_size = None
|
||||
if 'file_name' in obj:
|
||||
file_name = obj['file_name']
|
||||
if 'mine_type' in obj:
|
||||
if 'mime_type' in obj:
|
||||
mime_type = obj['mime_type']
|
||||
if 'file_size' in obj:
|
||||
file_size = obj['file_size']
|
||||
|
Loading…
Reference in New Issue
Block a user