[tor-commits] [lego/develop] Fix typo

hiro at torproject.org hiro at torproject.org
Tue Apr 7 16:13:23 UTC 2020


commit 518cab3eaece9e0e18a241f9a3b4cffee1c6b05c
Author: hiro <hiro at torproject.org>
Date:   Mon Sep 2 18:45:07 2019 +0200

    Fix typo
---
 packages/xml-to-html/lektor_xml_to_html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/xml-to-html/lektor_xml_to_html.py b/packages/xml-to-html/lektor_xml_to_html.py
index 45f094c..074bb66 100644
--- a/packages/xml-to-html/lektor_xml_to_html.py
+++ b/packages/xml-to-html/lektor_xml_to_html.py
@@ -13,7 +13,7 @@ webFile = request.urlopen("https://blog.torproject.org/events.xml")
 content = webFile.read()
 root = etree.fromstring(content)
 items = root.findall('channel/item')
-file_object  = open('../../templates/stream.html', 'w')
+file_object  = open('../../../templates/stream.html', 'w')
 for entry in items:
   title = entry.findtext('title')
   link = entry.findtext('link')





More information about the tor-commits mailing list