Skip to content

Commit 0c1a432

Browse files
author
Jeroen van der Heijden
committed
Added compiled to branche
1 parent 87bdf8d commit 0c1a432

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

dist/trender-1.0.5.tar.gz

7.97 KB
Binary file not shown.

dist/trender-1.0.6.tar.gz

8.1 KB
Binary file not shown.

trender/aiohttp_template.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ def template(template_name, **kwargs):
2727
rtemplate = _templates[template_name] = _Template(template_name, **kwargs)
2828

2929
def wrapper(func):
30-
3130
async def wrapped(*args):
3231
namespace = await func(*args)
3332
text = rtemplate.ctemplate.render(namespace)
3433
return web.Response(body=text.encode('utf-8'), **rtemplate.kwargs)
34+
3535
return wrapped
36+
3637
return wrapper
3738

3839

0 commit comments

Comments
 (0)