This commit is contained in:
parent
8d7f10d21b
commit
30760aa412
@ -50,6 +50,7 @@ class BaseApplication(RPCApplication):
|
|||||||
)
|
)
|
||||||
self.agents = {}
|
self.agents = {}
|
||||||
super().__init__(middlewares=middlewares, *args, **kwargs)
|
super().__init__(middlewares=middlewares, *args, **kwargs)
|
||||||
|
aiohttp_jinja2.setup(self, loader=jinja2.FileSystemLoader(self.template_path))
|
||||||
|
|
||||||
def run(self, *args, **kwargs):
|
def run(self, *args, **kwargs):
|
||||||
if kwargs.get("port"):
|
if kwargs.get("port"):
|
||||||
|
Loading…
Reference in New Issue
Block a user