summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cfg.sample.py2
-rwxr-xr-xplinth.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cfg.sample.py b/cfg.sample.py
index ee57bb6..1602724 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 5cdce88..28f7207 100755
--- a/plinth.py
+++ b/plinth.py
@@ -146,7 +146,7 @@ def setup():
def main():
setup()
- print "localhost %d" % cfg.port
+ print "%s %d" % (cfg.host, cfg.port)
cherrypy.engine.start()
cherrypy.engine.block()