Update mw.py

This commit is contained in:
Mr Chen
2023-12-03 01:23:18 +08:00
parent 0350f3ecbb
commit 8752e394a3
+1 -1
View File
@@ -914,7 +914,7 @@ def encodeImage(imgsrc, newsrc):
new_fp = open(newsrc,"wb")
for x in imgFile:
value = x ^ 136
value = x ^ 86
value = hex(value)
s = struct.pack('B',int(value,16))
new_fp.write(s)