settings file not found

parent a7945a7a
...@@ -22,7 +22,7 @@ def main(argv): ...@@ -22,7 +22,7 @@ def main(argv):
for path in glob.glob(f'{rootdir}/*/'): for path in glob.glob(f'{rootdir}/*/'):
if not os.path.exists(path+'settings.json'): if not os.path.exists(path+'settings.json'):
ogfile.write("\t configuration file not found.\n") logfile.write("\t configuration file not found.\n")
continue continue
with open(path+'settings.json') as json_file: with open(path+'settings.json') as json_file:
cfg = json.load(json_file) cfg = json.load(json_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment