mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
fix: python 2/3 compatibility in examples
This commit is contained in:
@ -70,7 +70,7 @@ def on_start(message):
|
||||
|
||||
def listener(messages):
|
||||
for m in messages:
|
||||
print str(m)
|
||||
print(str(m))
|
||||
|
||||
bot.set_update_listener(listener)
|
||||
bot.polling()
|
||||
|
Reference in New Issue
Block a user