mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 12:17:20 +08:00
Fix: Template read error
This commit is contained in:
@@ -17,7 +17,7 @@ class Template:
|
|||||||
@property
|
@property
|
||||||
def image(self):
|
def image(self):
|
||||||
if self._image is None:
|
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
|
return self._image
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user