Don't reset automatic update choice

This commit is contained in:
Et0h 2015-01-23 23:50:40 +00:00
parent 9b054a685f
commit 09d515e97f

View File

@ -118,8 +118,10 @@ class ConfigurationGetter(object):
def _validateArguments(self): def _validateArguments(self):
if self._config['resetConfig']: if self._config['resetConfig']:
language = self._config['language'] language = self._config['language']
checkForUpdatesAutomatically = self._config['checkForUpdatesAutomatically']
self._config = self._defaultConfig self._config = self._defaultConfig
self._config['language'] = language self._config['language'] = language
self._config['checkForUpdatesAutomatically'] = checkForUpdatesAutomatically
raise InvalidConfigValue("*"+getMessage("config-cleared-notification")) raise InvalidConfigValue("*"+getMessage("config-cleared-notification"))
if not isValidLanguage(self._config['language']): if not isValidLanguage(self._config['language']):