1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-18 07:55:45 +01:00

branches/experimental:

- Fix some wired method issues in the daemon.
- Make sure stringToBoolean always returns a boolean.
This commit is contained in:
imdano
2008-09-21 16:38:15 +00:00
parent 69932f255c
commit bb1d222150
4 changed files with 45 additions and 36 deletions

View File

@@ -504,7 +504,7 @@ def stringToBoolean(text):
return True
if text in ("False", "0"):
return False
return text
return bool(text)
def checkboxTextboxToggle(checkbox, textboxes):
for textbox in textboxes: