electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1224610109f1d6bf101ddc79f03af81eb10bba48
parent 7faaf9f5ee479355c3012e4aff81adf994520cb6
Author: ThomasV <thomasv@gitorious>
Date:   Thu, 10 May 2012 20:39:50 +0200

display help message if pyqt is not found

Diffstat:
Mlib/gui_qt.py | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -18,7 +18,13 @@ import sys, time, datetime, re -# todo: see PySide +try: + import PyQt4 +except: + print "could not import PyQt4" + print "on Linux systems, you may try 'sudo apt-get install python-qt4'" + sys.exit(1) + from PyQt4.QtGui import * from PyQt4.QtCore import *