make the param optional

This commit is contained in:
Dana Jansens 2003-02-02 23:02:51 +00:00
parent b9ac2d30cf
commit c2527df85a

View file

@ -117,7 +117,7 @@ def restart(data, other = ""):
"""Restarts Openbox, optionally starting another window manager.""" """Restarts Openbox, optionally starting another window manager."""
ob.openbox.restart(other) ob.openbox.restart(other)
def exit(data): def exit(data=0):
"""Exits Openbox.""" """Exits Openbox."""
ob.openbox.shutdown() ob.openbox.shutdown()