diff options
Diffstat (limited to 'talermerchantdemos/blog/content.py')
-rw-r--r-- | talermerchantdemos/blog/content.py | 6 |
1 files changed, 3 insertions, 3 deletions
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: |