Skip to content

Commit 45e3cf2

Browse files
committed
fix usedforsecurity
1 parent d91d42f commit 45e3cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dateparser/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_key(cls, settings=None):
4949
return "default"
5050

5151
keys = sorted(["%s-%s" % (key, str(settings[key])) for key in settings])
52-
return hashlib.new("md5", "".join(keys).encode("utf-8"), usedforsecurity=True).hexdigest()
52+
return hashlib.new("md5", "".join(keys).encode("utf-8"), usedforsecurity=False).hexdigest()
5353

5454
@classmethod
5555
def _get_settings_from_pyfile(cls):

0 commit comments

Comments
 (0)