From 776bfea3d70cd7899cb33e56c9bd4bb0dd4f59d2 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 26 Jan 2015 17:40:41 +0100 Subject: [PATCH] Clean enable debug mode --- gns3server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/server.py b/gns3server/server.py index 03908eff..00cd83bf 100644 --- a/gns3server/server.py +++ b/gns3server/server.py @@ -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()