mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
caf4c293d9
- Add 'barcode' support
20 lines
300 B
Python
20 lines
300 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
DigiKey barcode decoding
|
|
"""
|
|
|
|
from barcodes.barcode import BarcodePlugin
|
|
|
|
|
|
class DigikeyBarcodePlugin(BarcodePlugin):
|
|
|
|
PLUGIN_NAME = "DigikeyBarcode"
|
|
|
|
def validate(self):
|
|
"""
|
|
TODO: Validation of Digikey barcodes.
|
|
"""
|
|
|
|
return False
|