mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-14 12:29:02 +00:00
Clean enable debug mode
This commit is contained in:
parent
6764c6e866
commit
776bfea3d7
@ -164,7 +164,7 @@ class Server:
|
||||
self._loop.run_until_complete(self._run_application(app, ssl_context))
|
||||
self._signal_handling()
|
||||
|
||||
if server_config["debug"] == "true":
|
||||
if server_config.getboolean("debug"):
|
||||
log.info("Code live reload is enabled, watching for file changes")
|
||||
self._loop.call_later(1, self._reload_hook)
|
||||
self._loop.run_forever()
|
||||
|
Loading…
Reference in New Issue
Block a user