From e8572cf858bd5df29db318b4e815f9eb2a061f12 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 2 May 2014 21:23:22 +0200 Subject: [PATCH] See #47 --- vdirsyncer/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/cli.py b/vdirsyncer/cli.py index 348dadc..c4a5df8 100644 --- a/vdirsyncer/cli.py +++ b/vdirsyncer/cli.py @@ -150,7 +150,7 @@ def get_init_args(cls): def main(): env = os.environ - fname = env.get('VDIRSYNCER_CONFIG', expand_path('~/.vdirsyncer/config')) + fname = expand_path(env.get('VDIRSYNCER_CONFIG', '~/.vdirsyncer/config')) cfg = load_config(fname) _main(env, cfg)