diff --git a/aidge_core/export_utils/scheduler_export.py b/aidge_core/export_utils/scheduler_export.py index e11517991875c79b413af09d5d630a6e83f912b9..5b50f803f0b0a6073ccec7d9d049ba8482f2d2b4 100644 --- a/aidge_core/export_utils/scheduler_export.py +++ b/aidge_core/export_utils/scheduler_export.py @@ -118,7 +118,7 @@ def scheduler_export(scheduler, export_folder_path: str, export_lib: ExportLib = outputs_size=outputs_size ) - if export_lib is None: + if export_lib is not None: # Copy all static files in the export for source, destination in export_lib.static_files.items(): copy_file(source, str(export_folder / destination))