Fix site loading with Zeroname plugin

This commit is contained in:
shortcutme 2018-04-03 14:40:47 +02:00
parent c2176ba27d
commit 1b8b3cf1ee
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class SiteManagerPlugin(object):
# Return: Site object or None if not found
def get(self, address):
if self.sites is None: # Not loaded yet
if not self.loaded: # Not loaded yet
self.load()
if self.isDomain(address): # Its looks like a domain
address_resolved = self.resolveDomain(address)