🐛 Use '==' operator for integer comparison (#1147)

This commit is contained in:
Jannes Höke 2018-08-26 20:39:19 +02:00 committed by Jasmin Bom
parent 8acff56145
commit 353410242f

View file

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