mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-04-11 05:30:17 +00:00
impr: log Andreal executable output
This commit is contained in:
parent
381f27db87
commit
90e66a43fe
@ -31,6 +31,9 @@ class AndrealExecuteRunnable(QRunnable):
|
||||
encoding="utf-8",
|
||||
)
|
||||
result = subp.stdout
|
||||
if subp.returncode != 0:
|
||||
logger.error("AndrealImageGenerator Error: ")
|
||||
logger.error(result)
|
||||
b64Result = [s for s in result.split("\n") if s]
|
||||
imageBytes = base64.b64decode(
|
||||
re.sub(r"data:image/.*;base64,", "", b64Result[-1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user