1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 23:08:02 +00:00

expand tilde for config path

This commit is contained in:
deadc0de6
2018-02-12 22:26:36 +01:00
parent 7b37ebc37e
commit c37654c879

View File

@@ -301,7 +301,7 @@ def main():
ret = True
args = docopt(USAGE, version=VERSION)
try:
conf = Cfg(args['--cfg'])
conf = Cfg(os.path.expanduser(args['--cfg']))
except ValueError as e:
LOG.err('error: %s' % (str(e)))
return False