mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +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._loop.run_until_complete(self._run_application(app, ssl_context))
|
||||||
self._signal_handling()
|
self._signal_handling()
|
||||||
|
|
||||||
if server_config["debug"] == "true":
|
if server_config.getboolean("debug"):
|
||||||
log.info("Code live reload is enabled, watching for file changes")
|
log.info("Code live reload is enabled, watching for file changes")
|
||||||
self._loop.call_later(1, self._reload_hook)
|
self._loop.call_later(1, self._reload_hook)
|
||||||
self._loop.run_forever()
|
self._loop.run_forever()
|
||||||
|
Loading…
Reference in New Issue
Block a user