fixes file downloader
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user