From f8abcf4050c90d6c9b7c2a511bd868f775b1a3af Mon Sep 17 00:00:00 2001 From: Johan Stokking Date: Mon, 24 Jul 2017 21:11:09 +0200 Subject: [PATCH] Copy static files also when zipping --- tools/export/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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