fix de_json

This commit is contained in:
Jannes Höke 2016-04-17 12:42:30 +02:00
parent 0e5129e59f
commit 185b080daa

View file

@ -47,6 +47,9 @@ class Venue(TelegramObject):
@staticmethod
def de_json(data):
if not data:
return None
data = super(Venue, Venue).de_json(data)
data['location'] = Location.de_json(data.get('location'))