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)