mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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
|
||||
"""
|
||||
if self._is_package:
|
||||
return self.__module__
|
||||
return self.__module__ # pragma: no cover
|
||||
return pathlib.Path(self.def_path).relative_to(settings.BASE_DIR)
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user