Updated Import.py style

This commit is contained in:
Michele Bianchi 2020-01-10 16:39:06 +09:00 committed by Marc Garcia Puig
parent a5e311e286
commit 8687ab18bc
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ def build_binary_for_navigation(package_name, dirname, maps):
os.makedirs(nav_folder_target) os.makedirs(nav_folder_target)
nav_path_source = os.path.join(folder, "%s.bin" % target_name) nav_path_source = os.path.join(folder, "%s.bin" % target_name)
if (os.path.exists(nav_path_source)): if os.path.exists(nav_path_source):
nav_path_target = os.path.join(nav_folder_target, "%s.bin" % target_name) nav_path_target = os.path.join(nav_folder_target, "%s.bin" % target_name)
print('Copying "' + nav_path_source + '" to "' + nav_path_target + '"') print('Copying "' + nav_path_source + '" to "' + nav_path_target + '"')
shutil.copy2(nav_path_source, nav_path_target) shutil.copy2(nav_path_source, nav_path_target)