make the param optional
This commit is contained in:
parent
b9ac2d30cf
commit
c2527df85a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue