lint
This commit is contained in:
parent
e8cbee5a6a
commit
648f96a652
@ -102,7 +102,7 @@ class BarcodeReader:
|
||||
asn_text = asn_text[len(settings.CONSUMER_ASN_BARCODE_PREFIX) :].strip()
|
||||
|
||||
# remove non-numeric parts of the remaining string
|
||||
asn_text = re.sub('[^0-9]','', asn_text)
|
||||
asn_text = re.sub("[^0-9]", "", asn_text)
|
||||
|
||||
# now, try parsing the ASN number
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user