1
0
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:
Julien Duponchelle 2015-01-26 17:40:41 +01:00
parent 6764c6e866
commit 776bfea3d7

View File

@ -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()