This commit is contained in:
hiro 2019-09-05 15:52:53 +02:00
parent b5691c8332
commit 16edbaec21

View File

@ -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>"