diff --git a/html/controls.py b/html/controls.py index b1065b58..fda4cb65 100644 --- a/html/controls.py +++ b/html/controls.py @@ -26,6 +26,8 @@ def to_html(wfile, args): ret = next() elif action == "version": ret = ocarina.__vers__ + elif action == "uptime": + ret = ocarina.now() - ocarina.__start__ elif action == "title": ret = attrs("title") elif action == "album":