From: Dana Jansens Date: Sun, 2 Feb 2003 23:51:04 +0000 (+0000) Subject: make restart's parameter optional X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=95a11f35534a866514f9b8e9f5e929452c5df23a;p=chaz%2Fopenbox make restart's parameter optional --- 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)