From 8d06eb5569325e9f15059ad424cee373bc5d98b6 Mon Sep 17 00:00:00 2001 From: wgw Date: Sun, 9 Mar 2008 22:34:16 -0500 Subject: [PATCH] write soft reset to debug --- plugins/admin/admin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/admin/admin.py b/plugins/admin/admin.py index 251d5b8..fa90fa7 100644 --- a/plugins/admin/admin.py +++ b/plugins/admin/admin.py @@ -5,6 +5,7 @@ from plugin import Plugin from urllib import unquote_plus, quote, unquote from xml.sax.saxutils import escape from lrucache import LRUCache +import debug SCRIPTDIR = os.path.dirname(__file__) @@ -32,6 +33,8 @@ class Admin(Plugin): t.container = cname t.text = '

The pyTivo Server has been soft reset.


pyTivo has reloaded the pyTivo.conf file and all changed should now be in effect.' handler.wfile.write(t) + debug.debug_write(__name__, debug.fn_attr(), ['The pyTivo Server has been soft reset.']) + debug.print_conf(__name__, debug.fn_attr()) def Admin(self, handler, query): #Read config file new each time in case there was any outside edits -- 2.11.4.GIT