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), so 63d16e81 and 6971ff70 cannot import the add-on; this one can.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-10 07:25:05 +02:00
commit c98ad8f56a

View file

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