From 2048bdab9fd223397272450758514bc962e8eb30 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 20 May 2014 10:02:34 +0400 Subject: [PATCH] Fix paths --- search-tags.py | 2 +- tags.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/search-tags.py b/search-tags.py index afdd6c4..d1bc93e 100755 --- a/search-tags.py +++ b/search-tags.py @@ -46,7 +46,7 @@ else: if posts: _posts = [] for suburl, title in posts: - _posts.append('%s' % (suburl, title)) + _posts.append('%s' % (suburl, title)) body = "
\n".join(_posts) else: body = "îÅ ÎÁÊÄÅÎÏ ÎÉ ÏÄÎÏÊ ÚÁÐÉÓÉ." diff --git a/tags.py b/tags.py index 7bfc95e..d8a14f4 100644 --- a/tags.py +++ b/tags.py @@ -6,7 +6,7 @@ except ImportError: import pickle try: - blog_file = open(blog_filename, "rb") + blog_file = open('../../../../phdru.name/ru/' + blog_filename, "rb") except IOError: blog_dict = {} else: -- 2.39.2