[tor-commits] [lego/master] Fix typo
hiro at torproject.org
hiro at torproject.org
Thu Sep 5 13:52:56 UTC 2019
commit 16edbaec21f976e6ebc1b28dd2f804aa8f3246c4
Author: hiro <hiro at 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>"
More information about the tor-commits
mailing list