mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Remove unused variable. Ref #1744
This commit is contained in:
parent
72c6f5b484
commit
7b61724213
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user