Skip to content

Commit

Permalink
0.12.1 (#197)
Browse files Browse the repository at this point in the history
* 0.12.1

- Fix bug with label printing interface

* url fix
  • Loading branch information
SchrodingersGat authored Jul 18, 2023
1 parent c83b546 commit 64f226e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inventree/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion inventree/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64f226e

Please sign in to comment.