Skip to content
Snippets Groups Projects
Commit 4010161a authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Plugins: Don't fail if plugins dir does not exist

parent 9ee85427
No related branches found
No related tags found
No related merge requests found
......@@ -127,5 +127,7 @@ def get_builder(file_name: str, widgets: List[str] = None) -> Builder:
def is_shipped_plugin(path):
base = Path(configpaths.get('PLUGINS_BASE'))
if not base.exists():
return False
plugin_parent = Path(path).parent
return base.samefile(plugin_parent)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment