diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index 98b66364c..1f2c0a2c3 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -276,8 +276,8 @@ def main(args=None): u'..', u'..', u'Data',)) log.info(u'Data path: %s' % data_path) # Point to our data path - portable_settings.setValue(u'advanced/data path',data_path) - portable_settings.setValue(u'advanced/is portable',True) + portable_settings.setValue(u'advanced/data path', data_path) + portable_settings.setValue(u'advanced/is portable', True) portable_settings.sync() else: app.setApplicationName(u'OpenLP') diff --git a/openlp/core/lib/settings.py b/openlp/core/lib/settings.py index 158f06f7b..115d7a8f0 100644 --- a/openlp/core/lib/settings.py +++ b/openlp/core/lib/settings.py @@ -59,7 +59,7 @@ class Settings(QtCore.QSettings): def __init__(self, *args): if not args and Settings.filePath and (Settings.defaultFormat() == - Settings.IniFormat): + Settings.IniFormat): QtCore.QSettings.__init__(self, Settings.filePath, Settings.IniFormat) else: