diff options
author | Goohu <devnull@localhost> | 2018-03-07 10:21:58 +0100 |
---|---|---|
committer | Goohu <devnull@localhost> | 2018-03-07 10:21:58 +0100 |
commit | df3fc63abd966a20f3cfdeef1a9edb13d674b7fc (patch) | |
tree | 730bef4eb9e3f49aaf1cf7ad7a94a4a307ff580f /yoyo/config.py | |
parent | 927babde3aa62cf3c7c7a67c8ba323af78b72bb7 (diff) | |
download | yoyo-relative-path-param.tar.gz |
command line parameter: handle relative path to config filerelative-path-param
Diffstat (limited to 'yoyo/config.py')
-rw-r--r-- | yoyo/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yoyo/config.py b/yoyo/config.py index f646b3c..beb9b4b 100644 --- a/yoyo/config.py +++ b/yoyo/config.py @@ -24,7 +24,7 @@ CONFIG_NEW_MIGRATION_COMMAND_KEY = 'post_create_command' def get_interpolation_defaults(path): - return {'here': os.path.dirname(path)} + return {'here': os.path.dirname(os.path.abspath(path))} def get_configparser(**defaults): |