1
0

fix more bare excepts

This commit is contained in:
Bryan Stitt
2013-11-10 12:30:57 -08:00
parent 24cabcbee9
commit 6cd4ed486a
21 changed files with 67 additions and 67 deletions

View File

@@ -76,7 +76,7 @@ class Plugin(BasePlugin):
while True:
try:
proc.process_one()
except:
except Exception:
# User closed the preview window
return {}
@@ -99,12 +99,12 @@ class Plugin(BasePlugin):
try:
amount = self.gui.main_window.read_amount(unicode( self.gui.main_window.amount_e.text()))
except:
except Exception:
QMessageBox.warning(self.gui.main_window, _('Error'), _('Invalid Amount'), _('OK'))
return
try:
fee = self.gui.main_window.read_amount(unicode( self.gui.main_window.fee_e.text()))
except:
except Exception:
QMessageBox.warning(self.gui.main_window, _('Error'), _('Invalid Fee'), _('OK'))
return