Skip to content

Commit a5ed760

Browse files
committed
Fix venue Loacation dejson.
1 parent bac269d commit a5ed760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telebot/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ class Venue(JsonDeserializable):
492492
@classmethod
493493
def de_json(cls, json_type):
494494
obj = cls.check_json(json_type)
495-
location = obj['location']
495+
location = Location.de_json(obj['location'])
496496
title = obj['title']
497497
address = obj['address']
498498
foursquare_id = obj.get('foursquare_id')

0 commit comments

Comments
 (0)