aboutsummaryrefslogtreecommitdiff
path: root/backend.py
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-10-06 14:06:51 +1300
committerArslaan Pathan <[email protected]>2026-10-06 14:06:51 +1300
commitb41e5288d7b8839b1ce0448489c365b243a8d00d (patch)
treedf6a584bc08b40a8367f21fe645cd7c3877f2e11 /backend.py
parent43b8adde8f98c2763fd046031920046fef88e0c3 (diff)
downloadremote-automation-b41e5288d7b8839b1ce0448489c365b243a8d00d.tar.xz
remote-automation-b41e5288d7b8839b1ce0448489c365b243a8d00d.zip
agentic
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):