From 4252c7aeb84911a9751f1f8e4ed57f219d14c977 Mon Sep 17 00:00:00 2001 From: Token2 Date: Fri, 24 May 2024 16:05:39 +0200 Subject: [PATCH] Update gui.py --- gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.py b/gui.py index 072f19c..0f6b290 100644 --- a/gui.py +++ b/gui.py @@ -293,7 +293,7 @@ def show_output_in_new_window(output, device_digit): elif "Credential ID: " in line and "User: " in line: credential_id = line.split("Credential ID: ")[1].split(",")[0].strip() user = line.split("User: ")[1].strip() - user = user.replace(credential_id, "").strip() + user = re.sub(re.escape(credential_id), "", user).strip() tree_new_window.insert("", tk.END, values=(current_domain, credential_id, user)) # Function to handle show value button click