Skip to content

Commit

Permalink
added path to extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
DYefremov committed Feb 17, 2023
1 parent f9afffb commit 907415a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def init_extensions(self, builder):
# Extensions (Plugins) section.
ext_section = builder.get_object(f"{'mac_' if IS_DARWIN else ''}extension_section")
ext_path = f"{self._settings.default_data_path}tools{os.sep}extensions"
ext_paths = [f"{os.path.dirname(__file__)}{os.sep}extensions", ext_path]
ext_paths = [f"{os.path.dirname(__file__)}{os.sep}extensions", ext_path, "extensions"]
extensions = {}

for importer, name, is_package in pkgutil.iter_modules(ext_paths):
Expand Down

0 comments on commit 907415a

Please sign in to comment.