make restart's parameter optional
This commit is contained in:
parent
da0c7355d1
commit
95a11f3553
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def focus(data):
|
||||||
return
|
return
|
||||||
data.client.focus()
|
data.client.focus()
|
||||||
|
|
||||||
def restart(data, other = ""):
|
def restart(data=0, other = ""):
|
||||||
"""Restarts Openbox, optionally starting another window manager."""
|
"""Restarts Openbox, optionally starting another window manager."""
|
||||||
ob.openbox.restart(other)
|
ob.openbox.restart(other)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue