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:
ifnot(('.'inurl)and(not'<'inurl)and(not''inurl)):
return
data=self.resolve(url)
@ -138,10 +134,6 @@ class Plugin(BasePlugin):
exceptAttributeError:
returnFalse
ifnotOA_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'))
returnTrue
ifnotself.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.'))