fix 部分图片无法读取

This commit is contained in:
xaoyaoo 2024-07-22 17:03:18 +08:00
parent c69d5ed036
commit f4ea629b28

View File

@ -170,7 +170,7 @@ def dat2img(input_data):
out_bytes = np.bitwise_xor(input_bytes, t) # 使用NumPy进行向量化的异或解密操作
md5 = get_md5(out_bytes)
return False, fomt, md5, out_bytes
return True, fomt, md5, out_bytes
return False, False, False, False
except ImportError:
pass