1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-15 02:23:13 +00:00
EmoteManager/utils/compat.py

10 lines
168 B
Python
Raw Normal View History

2021-04-06 04:31:47 +00:00
import hashlib
try:
hashlib.md5(usedforsecurity=False)
except TypeError:
md5 = hashlib.md5
else:
def md5(*args):
return hashlib.md5(*args, usedforsecurity=False)