From 34eb37a4f448909a187e69b434f276f97a0833ce Mon Sep 17 00:00:00 2001 From: Stevan Pettit Date: Sun, 1 Jan 2012 08:43:43 -0500 Subject: [PATCH] Modified statement to avoid duplicate code execution --- openlp/core/ui/servicemanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 9451026d9..e23e68ef5 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -598,7 +598,7 @@ class ServiceManager(QtGui.QWidget): try: shutil.copy(temp_file_name, path_file_name) except: - self.saveFileAs() + return self.saveFileAs() self.mainwindow.addRecentFile(path_file_name) self.setModified(False) try: