summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@thoughtworks.com>2014-10-22 23:09:14 +0200
committerBruno Wagner <bwagner@thoughtworks.com>2014-10-22 23:09:28 +0200
commit9f34893ab2386d6fcfae51da2a8a15bbfa294b33 (patch)
tree3afb735c7c157ec7c27d044ce2cc7e8402c4847e /service
parent61d7ba86167da51d6a8b18aa849760054cf6ed9b (diff)
--config now explicitly supports using ~ on the path
Diffstat (limited to 'service')
-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 7e12b639..0146c4b7 100644
--- a/service/pixelated/runserver.py
+++ b/service/pixelated/runserver.py
@@ -55,7 +55,7 @@ def setup():
if args.dispatcher:
raise Exception('Dispatcher mode not implemented yet')
elif args.config is not None:
- config_file = os.path.abspath(args.config)
+ config_file = os.path.abspath(os.path.expanduser(args.config))
app.config.from_pyfile(config_file)
else:
provider, user, password = credentials_prompt.run()