fix more bare excepts
This commit is contained in:
@@ -26,7 +26,7 @@ import shutil
|
||||
|
||||
try:
|
||||
import PyQt4
|
||||
except:
|
||||
except Exception:
|
||||
sys.exit("Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'")
|
||||
|
||||
from PyQt4.QtGui import *
|
||||
@@ -39,7 +39,7 @@ from electrum.bitcoin import MIN_RELAY_TX_FEE
|
||||
|
||||
try:
|
||||
import icons_rc
|
||||
except:
|
||||
except Exception:
|
||||
sys.exit("Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/qt/icons_rc.py'")
|
||||
|
||||
from util import *
|
||||
|
||||
Reference in New Issue
Block a user