mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
we are not covering packages right now
This commit is contained in:
parent
5e277130fa
commit
cf0cbff69a
@ -191,7 +191,7 @@ class IntegrationPluginBase(MixinBase, plugin_base.InvenTreePluginBase):
|
|||||||
Path to the plugin
|
Path to the plugin
|
||||||
"""
|
"""
|
||||||
if self._is_package:
|
if self._is_package:
|
||||||
return self.__module__
|
return self.__module__ # pragma: no cover
|
||||||
return pathlib.Path(self.def_path).relative_to(settings.BASE_DIR)
|
return pathlib.Path(self.def_path).relative_to(settings.BASE_DIR)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user