Fix not downloaded site delete on startup

This commit is contained in:
Tamas Kocsis 2020-09-08 19:28:41 +02:00
parent 5a226baaa5
commit 94765af0f3
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class SiteManager(object):
content_db = ContentDb.getContentDb()
for row in content_db.execute("SELECT * FROM site").fetchall():
address = row["address"]
if address not in self.sites:
if address not in self.sites and address not in address_found:
self.log.info("Deleting orphan site from content.db: %s" % address)
try: