Skip to content

Commit ea0bf3f

Browse files
committed
add comment if content is in directory
1 parent 60d7db2 commit ea0bf3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jython_scripts/install_python.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@ def _cleanup_destination_dir(self, path):
371371
self._update_ui(lambda: self.log_area.append("Cleaned up: {}\n".format(path)))
372372
except Exception, e:
373373
self._update_ui(lambda: self.log_area.append("Warning: Failed to clean up directory {}: {}\n".format(path, e)))
374-
self._update_ui(lambda: JOptionPane.showMessageDialog(self, "Warning: Could not fully clean up directory {}. Please remove it manually if needed.\nError: {}".format(path, e), "Cleanup Warning", JOptionPane.WARNING_MESSAGE))
374+
self._update_ui(lambda: JOptionPane.showMessageDialog(self, "Warning: Could not fully clean up directory {}. Please close any open python instances and " \
375+
"try again or remove it manually if needed.\nError: {}".format(path, e), "Cleanup Warning", JOptionPane.WARNING_MESSAGE))
375376

376377

377378
def _run_installation_in_thread(self, current_python_7z_url, current_expected_sha256_hash, current_destination_dir, current_env_var_name, current_python_exe_sub_dir, seven_z_exe_path):

0 commit comments

Comments
 (0)