[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-blog] branch master updated: decode lxml result
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-blog] branch master updated: decode lxml result |
Date: |
Sat, 24 Aug 2019 12:58:21 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository blog.
The following commit(s) were added to refs/heads/master by this push:
new 8626617 decode lxml result
8626617 is described below
commit 8626617fbc82c6fc27d73f6a91b0c526fb586a3a
Author: Florian Dold <address@hidden>
AuthorDate: Sat Aug 24 12:58:16 2019 +0200
decode lxml result
---
talerblog/blog/blog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index 5f7d578..5504368 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -231,7 +231,7 @@ def render_article(article_name, data, order_id):
def get_qrcode_svg(data):
factory = qrcode.image.svg.SvgImage
img = qrcode.make(data, image_factory=factory)
- return lxml.etree.tostring(img.get_image())
+ return lxml.etree.tostring(img.get_image()).decode("utf-8")
##
# Trigger a article purchase. The logic follows the main steps:
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-blog] branch master updated: decode lxml result,
gnunet <=