summaryrefslogtreecommitdiff
path: root/src/leap/config/leapsettings.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/config/leapsettings.py')
-rw-r--r--src/leap/config/leapsettings.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/leap/config/leapsettings.py b/src/leap/config/leapsettings.py
index 4f12b4f8..b728ce15 100644
--- a/src/leap/config/leapsettings.py
+++ b/src/leap/config/leapsettings.py
@@ -23,8 +23,8 @@ import logging
from PySide import QtCore
-from leap.config.prefixers import get_platform_prefixer
from leap.common.check import leap_assert, leap_assert_type
+from leap.config.prefixers import get_platform_prefixer
logger = logging.getLogger(__name__)
@@ -54,6 +54,7 @@ class LeapSettings(object):
settings_path = os.path.join(get_platform_prefixer()
.get_path_prefix(standalone=standalone),
+ "leap",
self.CONFIG_NAME)
self._settings = QtCore.QSettings(settings_path,
QtCore.QSettings.IniFormat)
@@ -156,7 +157,7 @@ class LeapSettings(object):
def set_autologin(self, autologin):
"""
- Sets wether the app should automatically login
+ Sets whether the app should automatically login
@param autologin: True if the app should autologin, False otherwise
@type autologin: bool
@@ -179,8 +180,9 @@ class LeapSettings(object):
"""
Sets wether the app should automatically login
- @param autologin: True if the app should autologin, False otherwise
- @type autologin: bool
+ @param properprovider: True if the provider is properly
+ configured, False otherwise
+ @type properprovider: bool
"""
leap_assert_type(properprovider, bool)
self._settings.setValue(self.PROPERPROVIDER_KEY, properprovider)