mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Fix: Template read error
This commit is contained in:
parent
e07b4632a5
commit
5a582aae88
@ -17,7 +17,7 @@ class Template:
|
||||
@property
|
||||
def image(self):
|
||||
if self._image is None:
|
||||
self._image = np.array(Image.open(self.file).convert('RGB'))
|
||||
self._image = np.array(Image.open(self.file))
|
||||
|
||||
return self._image
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user