From aefc830ce5ac75dea0961df199c2f4c91b85af37 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 9 May 2022 18:13:31 +0000 Subject: [PATCH] it helps if you use the right naming conventions Signed-off-by: Xe Iaso --- main.py | 3 +++ main_view.html | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 45987ac..2dc05d2 100644 --- a/main.py +++ b/main.py @@ -4,6 +4,9 @@ import pathlib import subprocess class Plugin: + async def log(self, message=""): + print("frontend: " + message) + async def whoami(self, *args): return os.getuid() diff --git a/main_view.html b/main_view.html index 797e382..948df81 100644 --- a/main_view.html +++ b/main_view.html @@ -5,6 +5,10 @@