mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Docker compose relative path (#3410)
* Update development docker-compose file - Remove external volume definition - v2 does not allow relative path spec here - Simplification is only required for dev version * Remove old debug messages * Update docker build CI step - Check that required directories / files have been created in the correct location(s) * Add check for pgdb directory * Run partial docker check on pull_request * Disable workflow running on pull requests
This commit is contained in:
@ -245,14 +245,13 @@ class PluginsRegistry:
|
||||
# Collect plugins from paths
|
||||
for plugin in self.plugin_dirs():
|
||||
|
||||
print(f"Loading plugins from directory '{plugin}'")
|
||||
logger.info(f"Loading plugins from directory '{plugin}'")
|
||||
|
||||
parent_path = None
|
||||
parent_obj = pathlib.Path(plugin)
|
||||
|
||||
# If a "path" is provided, some special handling is required
|
||||
if parent_obj.name is not plugin and len(parent_obj.parts) > 1:
|
||||
print("loading from a qualified path:", plugin)
|
||||
parent_path = parent_obj.parent
|
||||
plugin = parent_obj.name
|
||||
|
||||
|
Reference in New Issue
Block a user