diff --git a/inventree/base.py b/inventree/base.py index 2a8544e..66a692f 100644 --- a/inventree/base.py +++ b/inventree/base.py @@ -7,7 +7,7 @@ from . import api as inventree_api -INVENTREE_PYTHON_VERSION = "0.12.0" +INVENTREE_PYTHON_VERSION = "0.12.1" logger = logging.getLogger('inventree') diff --git a/inventree/label.py b/inventree/label.py index 84eead3..0d9ef96 100644 --- a/inventree/label.py +++ b/inventree/label.py @@ -32,7 +32,7 @@ def printlabel(self, label, plugin=None, destination=None, *args, **kwargs): label_id = label # Set URL to use - URL = f'api/label/{self.LABELNAME}/{label_id}/print/' + URL = f'/label/{self.LABELNAME}/{label_id}/print/' params = { f'{self.LABELITEM}[]': self.pk