mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-19 15:49:29 +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