eylles / pywal16

16 colors fork of pywal
MIT License
157 stars 24 forks source link

TypeError: 'usedforsecurity' is an invalid keyword argument for openssl_md5() #42

Closed Tensaiz closed 4 months ago

Tensaiz commented 4 months ago

Getting the error from the title when running pywal.

Fixed by changing the import from hashlib import md5 -> import hashlib

And line 202 in the util.py file to hashlib.new('md5', usedforsecurity=False)