Add-on: _aetherdb joins its output lines with a newline escape, not a raw newline
The previous commit's _aetherdb did not parse (unterminated string literal), so63d16e81and6971ff70cannot import the add-on; this one can. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6971ff70a7
commit
c98ad8f56a
1 changed files with 2 additions and 4 deletions
|
|
@ -342,10 +342,8 @@ def _aetherdb(context, *args, ship_cc=None):
|
|||
raise ValueError(GAME_FOLDER_REFUSAL)
|
||||
result = subprocess.run([str(tool), "ship-authoring", *args], cwd=folder, capture_output=True, text=True,
|
||||
timeout=AETHERDB_TIMEOUT)
|
||||
lines = (result.stdout + "
|
||||
" + result.stderr).splitlines()
|
||||
return result.returncode, "
|
||||
".join(line for line in lines if line.strip())
|
||||
lines = (result.stdout + "\n" + result.stderr).splitlines()
|
||||
return result.returncode, "\n".join(line for line in lines if line.strip())
|
||||
|
||||
|
||||
def _layer_collection(layer, collection):
|
||||
|
|
|
|||
Loading…
Reference in a new issue