mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Fix: Typo in bf5316
This commit is contained in:
@@ -30,7 +30,7 @@ class Screenshot(AScreenCap):
|
||||
if method == 0:
|
||||
return Image.open(BytesIO(screenshot)).convert('RGB')
|
||||
elif method == 1:
|
||||
return Image.open(BytesIO(screenshot.replace(b'\r1\n', b'\n'))).convert('RGB')
|
||||
return Image.open(BytesIO(screenshot.replace(b'\r\n', b'\n'))).convert('RGB')
|
||||
elif method == 2:
|
||||
return Image.open(BytesIO(screenshot.replace(b'\r\r\n', b'\n'))).convert('RGB')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user