aoh

A tool for running Ansible playbooks with `curl <url> | python` commands
git clone https://git.ashermorgan.net/aoh/
Log | Files | Refs | README

commit c749515b49f45f14256f75f5c642f9e4d9820b43
parent 9c73094b2f4e4553f32de7c8d384a5da0cc40e3b
Author: Asher Morgan <asher@ashermorgan.net>
Date:   Sat, 12 Sep 2026 20:01:03 -0700

Fix bug in client fetch handler

Diffstat:
Maoh/client.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aoh/client.py b/aoh/client.py @@ -223,7 +223,7 @@ def fetch(args): """Fetch a file from the local host.""" try: - with open(args['dest'], 'rb') as f: + with open(args, 'rb') as f: return { 'data': base64.b64encode(f.read()).decode(), }