fix(plugins): Remove duplicate os import in removeFiles()

os is already imported at module level, removing duplicate import
that was causing 'local variable os referenced before assignment' error
This commit is contained in:
master3395
2026-01-26 03:19:01 +01:00
parent 7db42c10de
commit 8d6d5f923e

View File

@@ -288,7 +288,6 @@ class pluginInstaller:
if os.path.exists(pluginPath):
try:
# Check if we're running as root
import os
is_root = os.geteuid() == 0 if hasattr(os, 'geteuid') else False
use_sudo = not is_root