From 147658b30dfbce61f6f4e087a0c81e85899dda15 Mon Sep 17 00:00:00 2001 From: MS Date: Wed, 22 Jul 2020 16:10:39 +0200 Subject: no web-common --- talermerchantdemos/blog/content.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'talermerchantdemos/blog/content.py') diff --git a/talermerchantdemos/blog/content.py b/talermerchantdemos/blog/content.py index 0ecfa66..a0e90dd 100644 --- a/talermerchantdemos/blog/content.py +++ b/talermerchantdemos/blog/content.py @@ -53,7 +53,7 @@ def add_article(slug, title, teaser, main_file, extra_files): # @param image the image filename. # @return the path to the image file. def get_image_file(image): - filex = resource_filename("talerblog", os.path.join("blog/data/", image)) + filex = resource_filename("talermerchantdemos", os.path.join("blog/data/", image)) return os.path.abspath(filex) @@ -63,7 +63,7 @@ def get_image_file(image): # @param article the article filename. # @return the path to the article HTML file. def get_article_file(article): - filex = resource_filename("talerblog", article.main_file) + filex = resource_filename("talermerchantdemos", article.main_file) return os.path.basename(filex) @@ -79,7 +79,7 @@ def get_article_file(article): # HTML itself, so give it here if a explicit title needs to be # specified. def add_from_html(resource_name, teaser_paragraph=0, title=None): - res = resource_stream("talerblog", resource_name) + res = resource_stream("talermerchantdemos", resource_name) soup = BeautifulSoup(res, 'html.parser') res.close() if title is None: -- cgit v1.2.3