Skip to content

Commit 3977783

Browse files
committed
Bug fix: checking IDE toolchain and not ide in targets.json
1 parent e91cb1c commit 3977783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def export(project_path, project_name, ide, target, destination='/tmp/',
9797
except AttributeError:
9898
pass
9999

100-
if target not in Exporter.TARGETS or ide.upper() not in TARGET_MAP[target].supported_toolchains:
100+
if target not in Exporter.TARGETS or Exporter.TOOLCHAIN not in TARGET_MAP[target].supported_toolchains:
101101
supported = False
102102

103103
if use_progen:

0 commit comments

Comments
 (0)