URI: 
       tfix openalias py3 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 0c2547543d69a0d9758f9687cb1c00c3569f5926
   DIR parent f90c0d73dbd0b20804a4aaffcddb9a65aa78686e
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Tue,  6 Mar 2018 16:08:49 +0100
       
       fix openalias py3
       
       Diffstat:
         M lib/contacts.py                     |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/contacts.py b/lib/contacts.py
       t@@ -29,7 +29,7 @@ import sys
        
        from . import bitcoin
        from . import dnssec
       -from .util import export_meta, import_meta, print_error
       +from .util import export_meta, import_meta, print_error, to_string
        
        
        class Contacts(dict):
       t@@ -104,7 +104,7 @@ class Contacts(dict):
                    return None
                prefix = 'btc'
                for record in records:
       -            string = record.strings[0]
       +            string = to_string(record.strings[0], 'utf8')
                    if string.startswith('oa1:' + prefix):
                        address = self.find_regex(string, r'recipient_address=([A-Za-z0-9]+)')
                        name = self.find_regex(string, r'recipient_name=([^;]+)')