1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Fix: Template read error

This commit is contained in:
LmeSzinc
2020-07-05 23:50:40 +08:00
parent e07b4632a5
commit 5a582aae88

View File

@@ -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