Commit a76b2e47 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Change working dir in parse command.

parent 21e23d5c
Pipeline #82193 failed with stages
in 33 minutes and 59 seconds
......@@ -44,6 +44,8 @@ def parse(
entry_archive = datamodel.EntryArchive()
metadata = entry_archive.m_create(datamodel.EntryMetadata)
mainfile_path = os.path.abspath(mainfile_path)
parser.parse(mainfile_path, entry_archive, logger=logger)
except Exception as e:
logger.error('parsing was not successful', exc_info=e)
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