Skip to content

Commit

Permalink
Update command_handling.py
Browse files Browse the repository at this point in the history
  • Loading branch information
truelockmc authored Dec 2, 2024
1 parent daaa925 commit 1cd66a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Features/command_handling.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import subprocess
from Features.logging_func import log_command, log_error
import chardet
import platform
import tkinter as tk
from tkinter import messagebox
from Features.admin_elevate import is_admin, elevate
Expand Down Expand Up @@ -84,4 +85,4 @@ def run_window_admin_command(command, success_message):
except Exception as e:
# Fehlerprotokollierung und Anzeige
log_error(f"Error running admin command: {command}", e)
messagebox.showerror("Error", f"An error occurred: {str(e)}")
messagebox.showerror("Error", f"An error occurred: {str(e)}")

0 comments on commit 1cd66a1

Please sign in to comment.