1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Deleted last unnecessaty json.dumps

This commit is contained in:
pieter 2015-07-02 01:16:17 +02:00
parent 2f8d1ad4ed
commit be155afcd8

View File

@ -108,7 +108,7 @@ class Message(JsonDeserializable):
def de_json(cls, json_string):
obj = cls.check_json(json_string)
message_id = obj['message_id']
from_user = User.de_json(json.dumps(obj['from']))
from_user = User.de_json(obj['from'])
chat = Message.parse_chat(obj['chat'])
date = obj['date']
content_type = None