aboutsummaryrefslogtreecommitdiff
path: root/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend.py')
-rw-r--r--backend.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend.py b/backend.py
index b0d9588..284dc02 100644
--- a/backend.py
+++ b/backend.py
@@ -30,6 +30,12 @@ def hack_this_club():
os.system('lp -d Canon_G3060 /opsec.txt')
return "ok"
[email protected]("/automate/agentic")
+def agentic():
+ print("That's so agentic.")
+ os.system('lp -d Canon_G3060 /srv/shares/public/thats-so-agentic.png')
+ return "ok"
+
@app.get("/automate/print_queue")
def print_queue():
if not print_lock.acquire(blocking=False):