Skip to content

Commit f16c4d0

Browse files
johanstokking0xc0170
authored andcommitted
Copy static files also when zipping
1 parent f0b3506 commit f16c4d0

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
@@ -348,9 +348,9 @@ def export_project(src_paths, export_path, target, ide, libraries_paths=None,
348348
inc_repos)
349349
else:
350350
zip_export(zip_proj, name, resource_dict, files, inc_repos)
351-
else:
352-
for static_file in exporter.static_files:
353-
if not exists(join(export_path, basename(static_file))):
354-
copyfile(static_file, join(export_path, basename(static_file)))
351+
352+
for static_file in exporter.static_files:
353+
if not exists(join(export_path, basename(static_file))):
354+
copyfile(static_file, join(export_path, basename(static_file)))
355355

356356
return exporter

0 commit comments

Comments
 (0)