| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This was failing because Jinja2 templates render to strings (unlike the previously used Tornado templates, which render to bytes)
Codecov Report
@@ Coverage Diff @@
## master #1150 +/- ##
=======================================
Coverage 61.99% 61.99%
=======================================
Files 230 230
Lines 16604 16604
=======================================
Hits 10294 10294
Misses 6310 6310
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
Thanks, the description and the fix are good. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PrintingService currently doesn't work. When someone uses it to print something, the compilation of (or rather the rendering of the template of) the title page will fail. As far as I can tell, the reason for this comes from the transition from Tornado to Jinja2:
Jinja2 templates render to strings (unlike the previously used Tornado templates, which render to bytes). So we shouldn't open the output file in binary mode.
This change is