From f1ef93798ec25d98c73600c27b14ef4390b11e40 Mon Sep 17 00:00:00 2001 From: Ignacio Rivero Date: Sun, 22 Jun 2025 16:52:37 -0300 Subject: [PATCH] New binary, changed name --- app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 4df0f19..2d239be 100644 --- a/app.py +++ b/app.py @@ -516,17 +516,17 @@ def index(): buf.seek(0) import base64 img_data = base64.b64encode(buf.getvalue()).decode() - # If print button pressed, send to catprinter-ble + # If print button pressed, send to driver if "print" in request.form: try: with tempfile.NamedTemporaryFile(suffix=".png", delete=True) as tmpfile: image.save(tmpfile, format="PNG") tmpfile.flush() - # Run the catprinter-ble command + # Run the bleh command # You can set dither method here if desired result = subprocess.run([ "sudo", - "./catprinter-ble", + "./bleh", "-mode", "1bpp", "-intensity", "100", tmpfile.name