mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
rename to not shadow builtin
This commit is contained in:
parent
ef22b9fc1b
commit
db66546606
@ -25,8 +25,8 @@ def hash_barcode(barcode_data):
|
|||||||
|
|
||||||
barcode_data = ''.join(list(printable_chars))
|
barcode_data = ''.join(list(printable_chars))
|
||||||
|
|
||||||
hash = hashlib.md5(str(barcode_data).encode())
|
result_hash = hashlib.md5(str(barcode_data).encode())
|
||||||
return str(hash.hexdigest())
|
return str(result_hash.hexdigest())
|
||||||
|
|
||||||
|
|
||||||
class BarcodeMixin:
|
class BarcodeMixin:
|
||||||
|
Loading…
Reference in New Issue
Block a user