1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-06-30 01:44:12 +08:00

Chore: move hashlib to local import

This commit is contained in:
LmeSzinc
2026-06-25 19:36:02 +08:00
parent 4a1f23032b
commit 6e716c713e

View File

@@ -1,5 +1,4 @@
from datetime import datetime, timedelta
import hashlib
from module.base.decorator import Config
from module.base.filter import Filter
@@ -69,6 +68,7 @@ def image_hash(image):
if image is None:
return ''
import hashlib
return hashlib.md5(image.tobytes()).hexdigest()