summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authornecoro <>2007-07-09 07:48:08 +0000
committernecoro <>2007-07-09 07:48:08 +0000
commit3637bd7900f3b480b5935279c598c39bee70a03e (patch)
tree5d0318051ca7477495f783335d0f948dc7ffca9a /portato
parent67d7d22dd0a0c6660aa1a2d0934ce59995d3eb6b (diff)
downloadportato-3637bd7900f3b480b5935279c598c39bee70a03e.tar.gz
portato-3637bd7900f3b480b5935279c598c39bee70a03e.tar.bz2
portato-3637bd7900f3b480b5935279c598c39bee70a03e.zip
bug in shutdown plugin
Diffstat (limited to '')
-rw-r--r--portato/plugins/shutdown.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/plugins/shutdown.py b/portato/plugins/shutdown.py
index a29ee6f..120bac8 100644
--- a/portato/plugins/shutdown.py
+++ b/portato/plugins/shutdown.py
@@ -12,6 +12,6 @@
import os
-def shutdown (*args):
+def shutdown (*args, **kwargs):
"""Shutdown the computer. May not work if not root."""
os.system("shutdown -h now")