summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/callbacks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/callbacks.py b/scripts/callbacks.py
index 0852a3ac..024a197e 100644
--- a/scripts/callbacks.py
+++ b/scripts/callbacks.py
@@ -113,7 +113,7 @@ def focus(data):
return
data.client.focus()
-def restart(data, other = ""):
+def restart(data=0, other = ""):
"""Restarts Openbox, optionally starting another window manager."""
ob.openbox.restart(other)