Update SiteManagerPlugin.py

This commit is contained in:
cclauss 2017-07-16 22:53:11 +02:00 committed by GitHub
parent 7d7272a266
commit 1f22009360
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ class SiteManagerPlugin(object):
return data["zeronet"].get(sub_domain)
# Not found
return address
except Exception, err:
except Exception as err:
log.debug("Dnschain.net %s resolve error: %s" % (domain, Debug.formatException(err)))
@ -82,7 +82,7 @@ class SiteManagerPlugin(object):
return data["zeronet"].get(sub_domain)
# Not found
return address
except Exception, err:
except Exception as err:
log.debug("Dnschain.info %s resolve error: %s" % (domain, Debug.formatException(err)))