Add dummy line for remote cat
Committed b9e81d
--- a/webint_sites/__init__.py
+++ b/webint_sites/__init__.py
details = tx.db.select("machines", where="name = ?", vals=[machine])[0]
root_ssh = web.host.Machine(details["ip_address"], "root", "admin_key").run
admin_ssh = web.host.Machine(details["ip_address"], "admin", "admin_key").run
- admin_ssh("cat > app/run/webcfg.ini", stdin=config)
+ admin_ssh("cat > app/run/webcfg.ini", stdin=config + "\ndummy line")
root_ssh("supervisorctl", "restart", "app", "queue")
return "saved"