mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-26 16:38:53 +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)
|
stderr=subprocess.STDOUT)
|
||||||
except OSError:
|
except OSError:
|
||||||
exit_code = 0
|
exit_code = 0
|
||||||
if exit_code is 0:
|
if exit_code == 0:
|
||||||
try:
|
try:
|
||||||
self.httpd.socket = ssl.wrap_socket(
|
self.httpd.socket = ssl.wrap_socket(
|
||||||
self.httpd.socket, certfile=cert, keyfile=key, server_side=True)
|
self.httpd.socket, certfile=cert, keyfile=key, server_side=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue