From 2b38081b47035eb0bd361a06b705fe6f4495818d Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Fri, 18 Jan 2013 21:55:03 +0100 Subject: [PATCH] cough --- openlp/core/__init__.py | 1 - openlp/core/ui/wizard.py | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index 31db4a6bd..9da185ddf 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -173,7 +173,6 @@ class OpenLP(QtGui.QApplication): return False def hookException(self, exctype, value, traceback): - print ''.join(format_exception(exctype, value, traceback)) if not hasattr(self, u'mainWindow'): log.exception(''.join(format_exception(exctype, value, traceback))) return diff --git a/openlp/core/ui/wizard.py b/openlp/core/ui/wizard.py index 0a5c5edaf..761501750 100644 --- a/openlp/core/ui/wizard.py +++ b/openlp/core/ui/wizard.py @@ -276,14 +276,9 @@ class OpenLPWizard(QtGui.QWizard): ``setting_name`` The place where to save the last opened directory. """ - print setting_name - print u'asdf', Settings().value(self.plugin.settingsSection + u'/' + setting_name) - folder = QtGui.QFileDialog.getExistingDirectory(self, title, Settings().value(self.plugin.settingsSection + u'/' + setting_name), QtGui.QFileDialog.ShowDirsOnly) - print os.path.dirname(Settings().value(self.plugin.settingsSection + u'/' + setting_name)) if folder: - editbox.setText(folder) - print folder + editbox.setText(folder Settings().setValue(self.plugin.settingsSection + u'/' + setting_name, folder)