Remove unused variable. Ref #1744

This commit is contained in:
grossmj 2020-04-28 17:55:00 +09:30
parent 72c6f5b484
commit 7b61724213

View File

@ -259,9 +259,8 @@ def run():
port = int(server_config["port"])
server = WebServer.instance(host, port)
status = 0
try:
status = server.run()
server.run()
except OSError as e:
# This is to ignore OSError: [WinError 0] The operation completed successfully exception on Windows.
if not sys.platform.startswith("win") and not e.winerror == 0: