[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 518cab3eaece9e0e18a241f9a3b4cffee1c6b05c
Author: hiro <hiro@xxxxxxxxxxxxxx>
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')

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits