Update.
This commit is contained in:
parent
02a0253c1d
commit
165dda3210
@ -265,8 +265,10 @@ class Application(BaseApplication):
|
|||||||
|
|
||||||
if uid:
|
if uid:
|
||||||
user_template_path = await self.services.user.get_template_path(uid)
|
user_template_path = await self.services.user.get_template_path(uid)
|
||||||
|
if user_template_path:
|
||||||
template_paths.append(user_template_path)
|
template_paths.append(user_template_path)
|
||||||
|
|
||||||
|
|
||||||
template_paths.append(self.template_path)
|
template_paths.append(self.template_path)
|
||||||
return FileSystemLoader(template_paths)
|
return FileSystemLoader(template_paths)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user