Skip to content

Commit d8bf00f

Browse files
authored
Merge pull request #644 from screamerbg/f/import_mbed2_tools
Import Mbed 2 tools only if mbed.bld is present
2 parents 6383d0e + 68b1acb commit d8bf00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ def check_requirements(self, show_warning=False):
14841484
def post_action(self):
14851485
mbed_tools_path = self.get_tools_dir()
14861486

1487-
if not mbed_tools_path and (self.is_classic or os.path.exists(os.path.join(self.path, Cfg.file))):
1487+
if not mbed_tools_path and self.is_classic:
14881488
self.add_tools(os.path.join(self.path, '.temp'))
14891489
mbed_tools_path = self.get_tools_dir()
14901490

0 commit comments

Comments
 (0)