Commit 26555d3a authored by Mario Chirinos's avatar Mario Chirinos

dont crawl disabled

parent 114e18b4
......@@ -20,7 +20,7 @@ def main(argv):
rootdir = argv[1]
with open(rootdir+"/"+datetime.datetime.today().strftime('%Y-%m-%d')+".log", "a") as logfile:
for path in sorted(glob.glob(f'{rootdir}/*/')):
print(path)
if not os.path.exists(path+'settings.json'):
logfile.write("\t configuration file <"+path+"settings.json> not found.\n")
continue
......
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