Skip to content
Snippets Groups Projects
Commit 18af4c84 authored by juga's avatar juga Committed by Matt Traudt
Browse files

Replace conf['paths'] by conf.getpath('paths')

parent 87818dfe
No related branches found
No related tags found
No related merge requests found
......@@ -39,9 +39,9 @@ def gen_parser(sub):
def main(args, conf):
os.makedirs(conf['paths']['v3bw_dname'], exist_ok=True)
os.makedirs(conf.getpath('paths', 'v3bw_dname'), exist_ok=True)
datadir = conf['paths']['datadir']
datadir = conf.getpath('paths', 'datadir')
if not os.path.isdir(datadir):
fail_hard('%s does not exist', datadir)
if args.scale_constant < 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment