diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-22 11:04:14 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-22 11:04:14 +0200 |
| commit | 94b5892ea311fcb66edee540f360765e2195404d (patch) | |
| tree | e047e325316260e69bc24b64d26f7b46acb5c036 /docs | |
| parent | 1e8083b08293dc3737aadde6b43cf755510f47e3 (diff) | |
| download | mygram-droid-94b5892ea311fcb66edee540f360765e2195404d.tar.gz mygram-droid-94b5892ea311fcb66edee540f360765e2195404d.zip | |
Plan: strip the trailing newline from the password file
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/superpowers/plans/2026-10-22-mygram-droid.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/superpowers/plans/2026-10-22-mygram-droid.md b/docs/superpowers/plans/2026-10-22-mygram-droid.md index 1c12f9e..8342c94 100644 --- a/docs/superpowers/plans/2026-10-22-mygram-droid.md +++ b/docs/superpowers/plans/2026-10-22-mygram-droid.md @@ -77,7 +77,7 @@ Ask the user for the instance base URL too (it is in agent memory as well). Belo ```bash S=<scratchpad>; B=<instance base url> -python3 -I -c 'import json,sys; print(json.dumps({"password": open(sys.argv[1]).read()}))' /tmp/mygram.pw | +python3 -I -c 'import json,sys; print(json.dumps({"password": open(sys.argv[1]).read().rstrip("\n")}))' /tmp/mygram.pw | curl -s -c "$S/jar" -H 'x-foldergram-intent: 1' -H 'Content-Type: application/json' --data-binary @- "$B/api/auth/login" ``` |
