Logic fix

This commit is contained in:
Oliver Walters 2020-04-14 23:38:42 +10:00
parent 7faa0d199d
commit 4d7407ee51

View File

@ -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: