mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.py
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user