fixes file downloader

This commit is contained in:
Michael Beck
2025-02-07 04:17:13 +01:00
parent 9076c5ed7a
commit b084d21178

View File

@@ -114,7 +114,7 @@ def register_api(app):
# Create a unique zip file name
zip_name = f"files_{datetime.now().strftime('%Y%m%d%H%M%S')}.zip"
zip_path = create_zip(valid_file_paths, zip_name)
zip_path = create_zip(valid_file_paths, zip_name, app)
# Log the directory and file path for debugging
current_app.logger.debug(f"Sending file from directory: temp, file: {zip_name}")