Preferences/__init__.py

changeset 10
529717676149
parent 7
c679fb30c8f3
child 12
1d8dd9706f46
equal deleted inserted replaced
9:911a9f7aef1e 10:529717676149
2037 @param value value to be converted 2037 @param value value to be converted
2038 @return converted data 2038 @return converted data
2039 """ 2039 """
2040 if value is None: 2040 if value is None:
2041 return [] 2041 return []
2042 elif type(value) != type([]):
2043 return [value]
2042 else: 2044 else:
2043 return value 2045 return value
2044 2046
2045 initPreferences() 2047 initPreferences()
2046 initRecentSettings() 2048 initRecentSettings()

eric ide

mercurial