mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 13:58:47 +00:00
this seems fine - just keep it that way
This commit is contained in:
parent
c7a2d11893
commit
9e590c1bc6
@ -63,7 +63,6 @@ class BarcodeScan(APIView):
|
|||||||
plugin = None
|
plugin = None
|
||||||
|
|
||||||
for current_plugin in plugins:
|
for current_plugin in plugins:
|
||||||
# TODO @matmair make simpler after InvenTree 0.7.0 release
|
|
||||||
current_plugin.init(barcode_data)
|
current_plugin.init(barcode_data)
|
||||||
|
|
||||||
if current_plugin.validate():
|
if current_plugin.validate():
|
||||||
@ -168,7 +167,6 @@ class BarcodeAssign(APIView):
|
|||||||
plugin = None
|
plugin = None
|
||||||
|
|
||||||
for current_plugin in plugins:
|
for current_plugin in plugins:
|
||||||
# TODO @matmair make simpler after InvenTree 0.7.0 release
|
|
||||||
current_plugin.init(barcode_data)
|
current_plugin.init(barcode_data)
|
||||||
|
|
||||||
if current_plugin.validate():
|
if current_plugin.validate():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user