rename to not shadow builtin

This commit is contained in:
Matthias 2022-01-20 23:49:21 +01:00
parent ef22b9fc1b
commit db66546606
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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: