From 9f34893ab2386d6fcfae51da2a8a15bbfa294b33 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Wed, 22 Oct 2014 23:09:14 +0200 Subject: --config now explicitly supports using ~ on the path --- service/pixelated/runserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/pixelated/runserver.py') 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() -- cgit v1.2.3