mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 21:49:00 +00:00
expand tilde for config path
This commit is contained in:
@@ -301,7 +301,7 @@ def main():
|
|||||||
ret = True
|
ret = True
|
||||||
args = docopt(USAGE, version=VERSION)
|
args = docopt(USAGE, version=VERSION)
|
||||||
try:
|
try:
|
||||||
conf = Cfg(args['--cfg'])
|
conf = Cfg(os.path.expanduser(args['--cfg']))
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
LOG.err('error: %s' % (str(e)))
|
LOG.err('error: %s' % (str(e)))
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user