URI: 
       tminor fixes - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 58c302a4cf9fcd1fcef5b8f0976d33f1c98cddf2
   DIR parent 6f3c9e6a447ef76b3a63d7eeac167a392ed71940
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Fri, 13 Jun 2014 16:08:46 +0200
       
       minor fixes
       
       Diffstat:
         M gui/qt/main_window.py               |       2 ++
         M lib/util.py                         |       2 +-
       
       2 files changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -980,6 +980,8 @@ class ElectrumWindow(QMainWindow):
                self.payment_request = None
        
            def pay_from_URI(self,URI):
       +        if not URI:
       +            return
                address, amount, label, message, request_url = util.parse_URI(URI)
                try:
                    address, amount, label, message, request_url = util.parse_URI(URI)
   DIR diff --git a/lib/util.py b/lib/util.py
       t@@ -163,7 +163,7 @@ def parse_URI(uri):
            from decimal import Decimal
        
            if ':' not in uri:
       -        assert bitcoin.is_address(url)
       +        assert bitcoin.is_address(uri)
                return uri, None, None, None, None
        
            u = urlparse.urlparse(uri)