Modified statement to avoid duplicate code execution

This commit is contained in:
Stevan Pettit 2012-01-01 08:43:43 -05:00
parent 3b58fe88f2
commit 34eb37a4f4

View File

@ -598,7 +598,7 @@ class ServiceManager(QtGui.QWidget):
try: try:
shutil.copy(temp_file_name, path_file_name) shutil.copy(temp_file_name, path_file_name)
except: except:
self.saveFileAs() return self.saveFileAs()
self.mainwindow.addRecentFile(path_file_name) self.mainwindow.addRecentFile(path_file_name)
self.setModified(False) self.setModified(False)
try: try: