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

Fix venue Loacation dejson.

This commit is contained in:
eternnoir 2016-09-17 07:38:18 +08:00
parent bac269d48a
commit a5ed76018d

View File

@ -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')