Update SiteManagerPlugin.py
This commit is contained in:
parent
7d7272a266
commit
1f22009360
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue