summaryrefslogtreecommitdiff
path: root/service/pixelated/runserver.py
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@thoughtworks.com>2014-10-22 18:26:25 +0200
committerBruno Wagner <bwagner@thoughtworks.com>2014-10-22 18:28:23 +0200
commita2e4f6e4816d4f0d92888b577b76153cf8c65e19 (patch)
tree779ba7e2f39d83616c2b7835e7e2a5a0c469ca60 /service/pixelated/runserver.py
parenta69591d9c8a166a1b6cb1ee19dd1f8bae0c810c5 (diff)
Host and port are now user agent switches, not depending on .pixelated file anymore
Diffstat (limited to 'service/pixelated/runserver.py')
-rw-r--r--service/pixelated/runserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/runserver.py b/service/pixelated/runserver.py
index 995796df..92266dba 100644
--- a/service/pixelated/runserver.py
+++ b/service/pixelated/runserver.py
@@ -43,7 +43,7 @@ def setup():
events_server.ensure_server(port=8090)
- app.config.from_pyfile(args.config)
+ app.config.update({'HOST': args.host, 'PORT': args.port})
if args.register:
server_name = app.config['LEAP_SERVER_NAME']