tOA_READY already checked in is_available - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 66cbd5bc6580436be90eb373f9a09c33cc6ef43a DIR parent 8cc21a6a00feaeab2c9d57d0b8e0b4858e612936 HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 31 Mar 2015 09:40:53 +0200 OA_READY already checked in is_available Diffstat: M plugins/openalias.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) --- DIR diff --git a/plugins/openalias.py b/plugins/openalias.py t@@ -93,11 +93,7 @@ class Plugin(BasePlugin): return self.win.previous_payto_e = url - if ('.' in url) and (not '<' in url) and (not ' ' in url): - if not OA_READY: # handle a failed DNSPython load - QMessageBox.warning(self.win, _('Error'), 'Could not load DNSPython libraries, please ensure they are available and/or Electrum has been built correctly', _('OK')) - return - else: + if not (('.' in url) and (not '<' in url) and (not ' ' in url)): return data = self.resolve(url) t@@ -138,10 +134,6 @@ class Plugin(BasePlugin): except AttributeError: return False - if not OA_READY: # handle a failed DNSPython load - QMessageBox.warning(self.win, _('Error'), 'Could not load DNSPython libraries, please ensure they are available and/or Electrum has been built correctly', _('OK')) - return True - if not self.validate_dnssec(url): msgBox = QMessageBox() msgBox.setText(_('WARNING: the address ' + address + ' could not be validated via an additional security check, DNSSEC, and thus may not be correct.'))