Rev3153, Download missing sites from sites.json
This commit is contained in:
parent
8b9a8997ac
commit
6b92d011d2
3 changed files with 26 additions and 18 deletions
|
@ -53,7 +53,7 @@ class SiteManagerPlugin(object):
|
|||
|
||||
# Return or create site and start download site files
|
||||
# Return: Site or None if dns resolve failed
|
||||
def need(self, address, all_file=True):
|
||||
def need(self, address, *args, **kwargs):
|
||||
if self.isDomain(address): # Its looks like a domain
|
||||
address_resolved = self.resolveDomain(address)
|
||||
if address_resolved:
|
||||
|
@ -61,7 +61,7 @@ class SiteManagerPlugin(object):
|
|||
else:
|
||||
return None
|
||||
|
||||
return super(SiteManagerPlugin, self).need(address, all_file)
|
||||
return super(SiteManagerPlugin, self).need(address, *args, **kwargs)
|
||||
|
||||
# Return: Site object or None if not found
|
||||
def get(self, address):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue