From 8365d6f5895e8df71a8bbddcc8b0c6f662610622 Mon Sep 17 00:00:00 2001 From: Stevan Pettit Date: Sun, 10 Jun 2012 10:29:50 -0400 Subject: [PATCH] Fixed some cosmedics --- openlp/core/__init__.py | 4 ++-- openlp/core/lib/settings.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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: