Skip to content
Snippets Groups Projects
Commit 6986020f authored by philip.roeggla's avatar philip.roeggla
Browse files

mistake: had the filename in folder path

parent 45a83a40
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ async def extract(input_file: str, output_folder: str) -> typing.NoReturn:
converter.write()
match = regex.search(r'[dD]1\d', input_file)
name = match.group(0) if match else 'VDXX'
output_log = output_path.joinpath('log')
output_log = pathlib.Path( output_folder + 'log/')
output_log.mkdir(parents=True, exist_ok=True)
converter.log.to_csv(output_log.joinpath(
'log-' + name + datetime.datetime.now().strftime("-%Y-%m-%d-%H:%M:%S") + '.csv'
......
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