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

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

parent e0a3b0a6
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ def main(args, conf):
:param argparse.Namespace args: command line arguments
:param configparser.ConfigParser conf: parsed config files
'''
datadir = conf['paths']['datadir']
datadir = conf.getpath('paths', 'datadir')
if not os.path.isdir(datadir):
fail_hard('%s does not exist', datadir)
......
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