diff --git a/cfg.sample.py b/cfg.sample.py index ee57bb6e0..160272446 100644 --- a/cfg.sample.py +++ b/cfg.sample.py @@ -12,7 +12,7 @@ users_dir = os.path.join(data_dir, "users") product_name = "Plinth" box_name = "FreedomBox" -host = 127.0.0.1 +host = "127.0.0.1" port = 8000 ## Do not edit below this line ## diff --git a/plinth.py b/plinth.py index d2a3e3ed4..6c197463c 100755 --- a/plinth.py +++ b/plinth.py @@ -148,7 +148,7 @@ def setup(): def main(): setup() - print "localhost %d" % cfg.port + print "%s %d" % (cfg.host, cfg.port) cherrypy.engine.start() cherrypy.engine.block()