mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-03 09:49:21 +01:00
🐛 Use '==' operator for integer comparison (#1147)
This commit is contained in:
parent
8acff56145
commit
353410242f
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ class Updater(object):
|
|||
stderr=subprocess.STDOUT)
|
||||
except OSError:
|
||||
exit_code = 0
|
||||
if exit_code is 0:
|
||||
if exit_code == 0:
|
||||
try:
|
||||
self.httpd.socket = ssl.wrap_socket(
|
||||
self.httpd.socket, certfile=cert, keyfile=key, server_side=True)
|
||||
|
|
Loading…
Reference in a new issue