Skip to content

Commit fbaf88c

Browse files
committed
Update version.
1 parent 3ebc47d commit fbaf88c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def readme():
77
return f.read()
88

99
setup(name='pyTelegramBotAPI',
10-
version='2.1.1',
10+
version='2.1.2',
1111
description='Python Telegram bot api. ',
1212
long_description=readme(),
1313
author='eternnoir',

telebot/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ def __init__(self, id, title, latitude, longitude, address, foursquare_id=None,
11961196
self.thumb_height = thumb_height
11971197

11981198
def to_json(self):
1199-
json_dict = {'type': self.type, 'title': self.title, 'id': self.id, 'latitude': self.latitude,
1199+
json_dict = {'type': self.type, 'id': self.id, 'title': self.title, 'latitude': self.latitude,
12001200
'longitude': self.longitude, 'address': self.address}
12011201
if self.foursquare_id:
12021202
json_dict['foursquare_id'] = self.foursquare_id

0 commit comments

Comments
 (0)