diff options
author | MS <ms@taler.net> | 2020-07-22 16:10:39 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-22 16:10:39 +0200 |
commit | 147658b30dfbce61f6f4e087a0c81e85899dda15 (patch) | |
tree | 9a632f65d14411967efc87e9ff6555ea52a4fc48 /talermerchantdemos/blog/content.py | |
parent | 30a87f5941147fd6016767276fe5cbf1b43c7ae0 (diff) | |
download | taler-merchant-demos-147658b30dfbce61f6f4e087a0c81e85899dda15.tar.gz taler-merchant-demos-147658b30dfbce61f6f4e087a0c81e85899dda15.tar.bz2 taler-merchant-demos-147658b30dfbce61f6f4e087a0c81e85899dda15.zip |
no web-common
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: |