Skip to content

Commit

Permalink
Remove support for custom plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
berticus2016 committed May 14, 2023
1 parent 6ed27eb commit 3b9ede8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plugin_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand All @@ -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()))
Expand Down

0 comments on commit 3b9ede8

Please sign in to comment.