Skip to content

Commit f8abcf4

Browse files
committed
Copy static files also when zipping
1 parent b0f5b3d commit f8abcf4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/export/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ def export_project(src_paths, export_path, target, ide, libraries_paths=None,
350350
inc_repos)
351351
else:
352352
zip_export(zip_proj, name, resource_dict, files, inc_repos)
353-
else:
354-
for static_file in exporter.static_files:
355-
if not exists(join(export_path, basename(static_file))):
356-
copyfile(static_file, join(export_path, basename(static_file)))
353+
354+
for static_file in exporter.static_files:
355+
if not exists(join(export_path, basename(static_file))):
356+
copyfile(static_file, join(export_path, basename(static_file)))
357357

358358
return exporter

0 commit comments

Comments
 (0)