mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 17:57:01 +08:00
Fix: Template read error
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user