mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Logic fix
This commit is contained in:
parent
7faa0d199d
commit
4d7407ee51
@ -61,7 +61,7 @@ class BarcodeScanView(APIView):
|
|||||||
|
|
||||||
if barcode_data is None:
|
if barcode_data is None:
|
||||||
response['error'] = _('No barcode data provided')
|
response['error'] = _('No barcode data provided')
|
||||||
|
else:
|
||||||
# Look for a barcode plugin that knows how to handle the data
|
# Look for a barcode plugin that knows how to handle the data
|
||||||
for plugin_class in barcode_plugins:
|
for plugin_class in barcode_plugins:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user