Be consistent in enable state: use human readable values
This commit is contained in:
parent
9208b7bb31
commit
b3aabdeeaf
4 changed files with 6 additions and 6 deletions
|
|
@ -204,7 +204,7 @@ class WeboobCfg(ReplApplication):
|
|||
|
||||
Enable a disabled backend
|
||||
"""
|
||||
return self._do_toggle(name, 1)
|
||||
return self._do_toggle(name, "true")
|
||||
|
||||
def do_disable(self, name):
|
||||
"""
|
||||
|
|
@ -212,7 +212,7 @@ class WeboobCfg(ReplApplication):
|
|||
|
||||
Disable a backend
|
||||
"""
|
||||
return self._do_toggle(name, 0)
|
||||
return self._do_toggle(name, "false")
|
||||
|
||||
def do_edit(self, line):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue