Always display title if there is content.json file
This commit is contained in:
parent
a96ff8399f
commit
bcd721e2ef
1 changed files with 1 additions and 4 deletions
|
@ -338,10 +338,7 @@ class UiRequest(object):
|
||||||
|
|
||||||
site = SiteManager.site_manager.get(address)
|
site = SiteManager.site_manager.get(address)
|
||||||
|
|
||||||
if (
|
if site and site.content_manager.contents.get("content.json"):
|
||||||
site and site.content_manager.contents.get("content.json") and
|
|
||||||
(not site.getReachableBadFiles() or site.settings["own"])
|
|
||||||
): # Its downloaded or own
|
|
||||||
title = site.content_manager.contents["content.json"]["title"]
|
title = site.content_manager.contents["content.json"]["title"]
|
||||||
else:
|
else:
|
||||||
title = "Loading %s..." % address
|
title = "Loading %s..." % address
|
||||||
|
|
Loading…
Reference in a new issue