mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix logic bug, bool('False') in fact equals True é_è
This commit is contained in:
parent
9482373e90
commit
7f45b3890e
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class SettingsConfigPanel(ConfigPanel):
|
|||
|
||||
# Dirty hack to let settings_get() to work from a python script
|
||||
if isinstance(result, str) and result in ["True", "False"]:
|
||||
result = bool(result)
|
||||
result = bool(result == "True")
|
||||
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue