From 7a55bc7b0ca622507a65610d2552fbf7277d0e2b Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Fri, 1 Mar 2019 09:02:33 -0600 Subject: [PATCH] Prevent "Image: None" in log --- tools/toolchains/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/toolchains/__init__.py b/tools/toolchains/__init__.py index 8f98947371..bb3610fc67 100755 --- a/tools/toolchains/__init__.py +++ b/tools/toolchains/__init__.py @@ -681,8 +681,8 @@ class mbedToolchain: filename = "{}_application.{}".format(name, ext) else: filename = "{}.{}".format(name, ext) + full_path = join(tmp_path, filename) if ext != 'elf': - full_path = join(tmp_path, filename) if full_path and self.need_update(full_path, [elf]): self.progress("elf2bin", name) self.binary(r, elf, full_path) @@ -691,7 +691,6 @@ class mbedToolchain: else: updatable = None else: - full_path = None updatable = None if self._post_build_hook: