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

Update version.

This commit is contained in:
eternnoir 2016-05-20 14:41:00 +08:00
parent 3ebc47de8b
commit fbaf88c237
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ def readme():
return f.read() return f.read()
setup(name='pyTelegramBotAPI', setup(name='pyTelegramBotAPI',
version='2.1.1', version='2.1.2',
description='Python Telegram bot api. ', description='Python Telegram bot api. ',
long_description=readme(), long_description=readme(),
author='eternnoir', author='eternnoir',

View File

@ -1196,7 +1196,7 @@ class InlineQueryResultVenue(JsonSerializable):
self.thumb_height = thumb_height self.thumb_height = thumb_height
def to_json(self): def to_json(self):
json_dict = {'type': self.type, 'title': self.title, 'id': self.id, 'latitude': self.latitude, json_dict = {'type': self.type, 'id': self.id, 'title': self.title, 'latitude': self.latitude,
'longitude': self.longitude, 'address': self.address} 'longitude': self.longitude, 'address': self.address}
if self.foursquare_id: if self.foursquare_id:
json_dict['foursquare_id'] = self.foursquare_id json_dict['foursquare_id'] = self.foursquare_id