mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
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
|