From db19f90009e585fc95a2d71ed20601914f51b6e0 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 18 Dec 2020 20:11:50 +0100 Subject: [PATCH] clean --- ereuse_devicehub/resources/hash_reports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/hash_reports.py b/ereuse_devicehub/resources/hash_reports.py index 26bf5bd2..8822afca 100644 --- a/ereuse_devicehub/resources/hash_reports.py +++ b/ereuse_devicehub/resources/hash_reports.py @@ -21,7 +21,7 @@ class ReportHash(db.Model): hash3.comment = """The normalized name of the hash.""" -def insert_hash(bfile=b'hello'): +def insert_hash(bfile): hash3 = hashlib.sha3_256(bfile).hexdigest() db_hash = ReportHash(hash3=hash3) db.session.add(db_hash)