mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
Change import from Crypto to Cryptodome for SHA512
Crypto refers to the deprecated PyCrypto package, and this breaks on Fedora because the SHA512 class doesn't include the truncate argument. Update it to Cryptodome.
This commit is contained in:
parent
8930579580
commit
e6907cb230
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import hashlib
|
|||
import csv
|
||||
import urllib.request
|
||||
from datetime import datetime
|
||||
from Crypto.Hash import SHA512
|
||||
from Cryptodome.Hash import SHA512
|
||||
|
||||
from progressbar.bar import ProgressBar
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue