fix(setup): fix syntax error in seed-local-community.sh (#1547)

This commit is contained in:
Yoav Amit
2026-07-06 14:24:03 -07:00
committed by GitHub
parent 0e87998f8f
commit 3729a65156
+5 -1
View File
@@ -67,7 +67,11 @@ for h in hosts:
if not seen:
raise SystemExit("could not derive a host from RELAY_URL")
print(",\n".join(f" ('{h.replace("'", "''")}')" for h in seen))
lines = []
for h in seen:
escaped = h.replace(chr(39), chr(39) * 2)
lines.append(f" ('{escaped}')")
print(",\n".join(lines))
PY
)