Commit d03a2460 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Fix path resolution in media_export

parent bd7f6dda
......@@ -92,7 +92,8 @@ 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_path in listdir(record_set_path):
for foxml_file in listdir(record_set_path):
foxml_path = path.join(record_set_path, foxml_file)
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