Changeset - cf5761b37af9
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2011-03-17 20:41:16
marcin@python-works.com
fixed ldap settings
1 file changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/settings.py
Show inline comments
 
@@ -95,8 +95,11 @@ class SettingsModel(BaseModel):
 

	
 
        for row in r:
 
            v = row.app_settings_value
 
            if v in ['0', '1']:
 
                v = v == '1'
 
            if v in ['true', 'yes', 'on', 'y', 't', '1']:
 
                v = True
 
            elif v in ['false', 'no', 'off', 'n', 'f', '0']:
 
                v = False
 

	
 
            fd.update({row.app_settings_name:v})
 

	
 
        return fd
0 comments (0 inline, 0 general)