commit 16edbaec21f976e6ebc1b28dd2f804aa8f3246c4 Author: hiro <h...@torproject.org> Date: Thu Sep 5 15:52:53 2019 +0200
Fix typo --- packages/txt-to-html/lektor_txt_to_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/txt-to-html/lektor_txt_to_html.py b/packages/txt-to-html/lektor_txt_to_html.py index 4c5ae3d..48b86d1 100644 --- a/packages/txt-to-html/lektor_txt_to_html.py +++ b/packages/txt-to-html/lektor_txt_to_html.py @@ -16,7 +16,7 @@ class TxtToHtmlPlugin(Plugin): def on_setup_env(self, **extra): - def stream(url=None): + def text(url=None): webFile = request.urlopen(url) content = webFile.read() text ="<pre>" + content + "</pre>" _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits