diff --git a/tools/export/__init__.py b/tools/export/__init__.py index 52f22d4d22..0e4acb6461 100644 --- a/tools/export/__init__.py +++ b/tools/export/__init__.py @@ -350,9 +350,9 @@ def export_project(src_paths, export_path, target, ide, libraries_paths=None, inc_repos) else: zip_export(zip_proj, name, resource_dict, files, inc_repos) - else: - for static_file in exporter.static_files: - if not exists(join(export_path, basename(static_file))): - copyfile(static_file, join(export_path, basename(static_file))) + + for static_file in exporter.static_files: + if not exists(join(export_path, basename(static_file))): + copyfile(static_file, join(export_path, basename(static_file))) return exporter