mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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:
|
||||
response['error'] = _('No barcode data provided')
|
||||
|
||||
else:
|
||||
# Look for a barcode plugin that knows how to handle the data
|
||||
for plugin_class in barcode_plugins:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user