mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +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")
|
||||
return
|
||||
|
||||
server = Server(options.host, options.port, options.ipc, options.quiet)
|
||||
server = Server(options.host, options.port, options.ipc)
|
||||
server.load_modules()
|
||||
server.run()
|
||||
|
||||
|
@ -58,7 +58,7 @@ class Server(object):
|
||||
(r"/upload", FileUploadHandler),
|
||||
(r"/login", LoginHandler)]
|
||||
|
||||
def __init__(self, host, port, ipc, quiet):
|
||||
def __init__(self, host, port, ipc):
|
||||
|
||||
self._host = host
|
||||
self._port = port
|
||||
@ -79,7 +79,6 @@ class Server(object):
|
||||
log.critical("server cannot listen to {}: {}".format(self._host, e))
|
||||
raise SystemExit
|
||||
self._ipc = ipc
|
||||
self._quiet = quiet
|
||||
self._modules = []
|
||||
|
||||
# get the projects and temp directories from the configuration file (passed to the modules)
|
||||
|
Loading…
Reference in New Issue
Block a user