[entropy.core.settings.base] fix entropy.conf readability check

This commit is contained in:
Fabio Erculiani
2009-12-11 19:29:49 +01:00
parent 0e8bd4dc68
commit a247095878
+2 -2
View File
@@ -864,8 +864,8 @@ class SystemSettings(Singleton, EntropyPluginStore):
}
etp_conf = self.__setting_files['system']
if not os.path.isfile(etp_conf) and \
os.access(etp_conf, os.R_OK):
if not (os.path.isfile(etp_conf) and \
os.access(etp_conf, os.R_OK)):
return data
const_secure_config_file(etp_conf)