mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-20 21:33:09 +00:00
Remove unused parameter
This commit is contained in:
parent
efc80ff17a
commit
d4d774055a
@ -127,7 +127,7 @@ def main():
|
|||||||
log.critical("the current working directory doesn't exist")
|
log.critical("the current working directory doesn't exist")
|
||||||
return
|
return
|
||||||
|
|
||||||
server = Server(options.host, options.port, options.ipc, options.quiet)
|
server = Server(options.host, options.port, options.ipc)
|
||||||
server.load_modules()
|
server.load_modules()
|
||||||
server.run()
|
server.run()
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ class Server(object):
|
|||||||
(r"/upload", FileUploadHandler),
|
(r"/upload", FileUploadHandler),
|
||||||
(r"/login", LoginHandler)]
|
(r"/login", LoginHandler)]
|
||||||
|
|
||||||
def __init__(self, host, port, ipc, quiet):
|
def __init__(self, host, port, ipc):
|
||||||
|
|
||||||
self._host = host
|
self._host = host
|
||||||
self._port = port
|
self._port = port
|
||||||
@ -79,7 +79,6 @@ class Server(object):
|
|||||||
log.critical("server cannot listen to {}: {}".format(self._host, e))
|
log.critical("server cannot listen to {}: {}".format(self._host, e))
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
self._ipc = ipc
|
self._ipc = ipc
|
||||||
self._quiet = quiet
|
|
||||||
self._modules = []
|
self._modules = []
|
||||||
|
|
||||||
# get the projects and temp directories from the configuration file (passed to the modules)
|
# get the projects and temp directories from the configuration file (passed to the modules)
|
||||||
|
Loading…
Reference in New Issue
Block a user