Fix not internal error on request files from not seeded sites
This commit is contained in:
parent
1d6168f457
commit
49735b7e55
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ class UiRequest(object):
|
||||||
if config.debug and file_path.split("/")[-1].startswith("all."):
|
if config.debug and file_path.split("/")[-1].startswith("all."):
|
||||||
# If debugging merge *.css to all.css and *.js to all.js
|
# If debugging merge *.css to all.css and *.js to all.js
|
||||||
site = self.server.sites.get(address)
|
site = self.server.sites.get(address)
|
||||||
if site.settings["own"]:
|
if site and site.settings["own"]:
|
||||||
from Debug import DebugMedia
|
from Debug import DebugMedia
|
||||||
DebugMedia.merge(file_path)
|
DebugMedia.merge(file_path)
|
||||||
if not address or address == ".":
|
if not address or address == ".":
|
||||||
|
|
Loading…
Reference in a new issue