URI: 
       tqrscanner - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 7e74fcc93536ca249a45b0ec7698edaef9a66e80
   DIR parent ba15b9eb6bcec956b2387320b94827176cf1a43f
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Sun,  3 Mar 2013 15:00:12 +0100
       
       qrscanner
       
       Diffstat:
         M plugins/qrscanner.py                |       8 +++-----
       
       1 file changed, 3 insertions(+), 5 deletions(-)
       ---
   DIR diff --git a/plugins/qrscanner.py b/plugins/qrscanner.py
       t@@ -1,13 +1,11 @@
        from electrum.util import print_error
       +from urlparse import urlparse, parse_qs
        
        try:
            import zbar
       -except ImportError:    
       -    print_error("Install zbar package to enable QR scans")
       +except ImportError:
            zbar = None
        
       -from urlparse import urlparse, parse_qs
       -
        
        def init(wallet):
            pass
       t@@ -19,7 +17,7 @@ def init_gui(gui):
                gui.wallet.unset_hook('create_send_tab', create_send_tab)
        
        def get_info():
       -    return 'QR scans', "QR Scans"
       +    return 'QR scans', "QR Scans.\nInstall the zbar package to enable this plugin"
        
        def is_enabled():
            return is_available()