Skip to content

Commit

Permalink
wb to rb in example
Browse files Browse the repository at this point in the history
  • Loading branch information
jh0ker committed Dec 1, 2015
1 parent 2350720 commit d0c76a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/updater_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def main():
'''
# Alternatively, run with webhook:
updater.bot.setWebhook(webhook_url='https://example.com/%s' % token,
certificate=open('cert.pem', 'wb'))
certificate=open('cert.pem', 'rb'))
update_queue = updater.start_webhook('0.0.0.0',
443,
Expand Down

0 comments on commit d0c76a1

Please sign in to comment.