change 'wb' to 'rb' in certificate open call

This commit is contained in:
Jannes Höke 2015-12-09 12:59:34 +01:00
parent 6622ea3ec0
commit a13245dfbf

View file

@ -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,