From a5ed76018da85f72b505c309a1eb1313c4e0997f Mon Sep 17 00:00:00 2001 From: eternnoir Date: Sat, 17 Sep 2016 07:38:18 +0800 Subject: [PATCH] Fix venue Loacation dejson. --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index bf724bf..97a08c3 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -492,7 +492,7 @@ class Venue(JsonDeserializable): @classmethod def de_json(cls, json_type): obj = cls.check_json(json_type) - location = obj['location'] + location = Location.de_json(obj['location']) title = obj['title'] address = obj['address'] foursquare_id = obj.get('foursquare_id')