inventree / inventree-python

Python library for communication with inventree via API
https://docs.inventree.org/en/latest/api/python/python/
MIT License
26 stars 34 forks source link

Fix label printing #148

Closed kleinweby closed 1 year ago

kleinweby commented 1 year ago

The label printing did format the url parameters directly into the string. While this works fine for the download case, the normal api calls will force a trailing slash breaking this.

The patch fixed it, by passing the parameters as an explicit params dictionary.

matmair commented 1 year ago

hi there @kleinweby ! Thanks for the contribution. I am not really familiar with that part of the code base so I just approved the CI run. Someone will take a look in the next days. If you have questions about the process etc. feel free to ping me! Regards, Matthias