From 64f226e9b5f54ec3e8a222379333d8ff1e64a140 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 18 Jul 2023 14:22:09 +1000 Subject: [PATCH] 0.12.1 (#197) * 0.12.1 - Fix bug with label printing interface * url fix --- inventree/base.py | 2 +- inventree/label.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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