mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Fix not downloaded site delete on startup
This commit is contained in:
parent
5a226baaa5
commit
94765af0f3
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue