Get loading status based on property
This commit is contained in:
parent
23be1d18a4
commit
b6a401d697
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class SiteManager(object):
|
||||||
|
|
||||||
# Lazy load sites
|
# Lazy load sites
|
||||||
def list(self):
|
def list(self):
|
||||||
if self.sites is None: # Not loaded yet
|
if not self.loaded: # Not loaded yet
|
||||||
self.log.debug("Sites not loaded yet...")
|
self.log.debug("Sites not loaded yet...")
|
||||||
self.load(startup=True)
|
self.load(startup=True)
|
||||||
return self.sites
|
return self.sites
|
||||||
|
|
Loading…
Reference in a new issue