Commit 17b99468 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Fix path resolution to FOXML files during media export (again)

parent 1132a222
......@@ -93,8 +93,7 @@ def foxml_export(objectstore_path, output_path, recordsets_csv_file):
def media_export(record_set_path, datastreamstore_path, http_files_path, rtmp_files_path):
logger = _create_logger("media_export", path.join(record_set_path, "media_export.log"))
for foxml_file in glob(path.join(record_set_path, "*.xml")):
foxml_path = path.join(record_set_path, foxml_file)
for foxml_path in glob(path.join(record_set_path, "*.xml")):
logger.debug("Exporting media files for file: '" + foxml_path + "'")
foxml_reader = FoxmlReader(foxml_path)
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