From be155afcd8962224f0baea7d576eb02273797e13 Mon Sep 17 00:00:00 2001 From: pieter Date: Thu, 2 Jul 2015 01:16:17 +0200 Subject: [PATCH] Deleted last unnecessaty json.dumps --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index b04deab..970c433 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -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