summaryrefslogtreecommitdiffstats
path: root/modules/reboot.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/reboot.py')
-rwxr-xr-xmodules/reboot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/reboot.py b/modules/reboot.py
index 72f9a24..1d1dc13 100755
--- a/modules/reboot.py
+++ b/modules/reboot.py
@@ -9,7 +9,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-from modules import web_svc
+from modules import func_module
import subprocess
@@ -19,7 +19,7 @@ class Reboot(web_svc.WebSvc):
self.methods = {
"reboot_reboot" : self.reboot
}
- web_svc.WebSvc.__init__(self)
+ func_module.FuncModule.__init__(self)
def reboot(self, when='now', message=''):
return subprocess.call(["/sbin/shutdown", '-r', when, message])