By default nothing is domain

This commit is contained in:
shortcutme 2017-05-11 18:02:05 +02:00
parent 5908d2ca53
commit 84b535767b
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -106,6 +106,9 @@ class SiteManager(object):
def isAddress(self, address):
return re.match("^[A-Za-z0-9]{26,35}$", address)
def isDomain(self, address):
return False
# Return: Site object or None if not found
def get(self, address):
if self.sites is None: # Not loaded yet