Commit 5bcfed84 authored by Pithon Kabiro's avatar Pithon Kabiro
Browse files

Fix bug in naming of result folder

parent 94c1f4cc
......@@ -504,7 +504,8 @@ def main(argv):
end = time.time()
print('Runtime: ',end - start )
d = datetime.now()
folderName = f'result_{d.year}{d.month}{d.day}{d.hour}{d.minute}{d.second}'
d_formatted = d.strftime('%Y%m%d%H%M%S') # Ensure that single digit days and months are padded with a leading `0`
folderName = f'result_{d_formatted}'
filepathHtml = f'{folderName}.html'
# create folder for files
......
Supports Markdown
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