From 44addc9d7f26bfe0c82548f6fbfafd0d165384db Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 15 Apr 2020 07:54:38 +1000 Subject: [PATCH] Bugfix --- InvenTree/InvenTree/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/api.py b/InvenTree/InvenTree/api.py index 4103fd290a..02975c3088 100644 --- a/InvenTree/InvenTree/api.py +++ b/InvenTree/InvenTree/api.py @@ -123,7 +123,7 @@ class BarcodePluginView(APIView): 'error': _('Barcode plugin returned incorrect response') } - response['plugin'] = plugin.get_name() + response['plugin'] = plugin.plugin_name() response['hash'] = plugin.hash() break