From 3b9ede806a6048d4e14c8d104feed144c4db39ec Mon Sep 17 00:00:00 2001 From: Geoff Whittington Date: Sat, 13 May 2023 21:04:10 -0400 Subject: [PATCH] Remove support for custom plugins --- plugin_loader.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugin_loader.py b/plugin_loader.py index 6644d3b..63ecd65 100644 --- a/plugin_loader.py +++ b/plugin_loader.py @@ -4,9 +4,6 @@ from pathlib import Path from log_utils import get_logger -# Get the path to the PyInstaller script -launch_dir = os.path.abspath(os.path.dirname(sys.argv[0])) - logger = get_logger(name="Plugins") plugins = [] @@ -18,7 +15,7 @@ def load_plugins(): return plugins plugins = [] - plugin_dirs = [Path("plugins"), Path(launch_dir, "custom_plugins")] + plugin_dirs = [Path("plugins")] for plugin_folder in plugin_dirs: sys.path.insert(0, str(plugin_folder.resolve()))