From 68f14c0831a9edf599219d8f6286e6192cbfcb7f Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Fri, 14 Feb 2025 14:53:00 +0100 Subject: [PATCH] fix: handle empty run_exe field --- client_details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_details.py b/client_details.py index 24d9288..353499b 100644 --- a/client_details.py +++ b/client_details.py @@ -156,7 +156,7 @@ def create_details_page(app, software, backswitch_function): # install button # print(software.run_exe) - print(os.path.join(software.backend.install_dir, software.run_exe)) + print(os.path.join(software.backend.install_dir, software.run_exe or "")) if not software.run_exe or not (os.path.isfile(software.run_exe) or os.path.isfile(os.path.join(software.backend.install_dir, software.title, software.run_exe))): run_button.configure(state=tkinter.DISABLED)