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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user