gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-blog] branch master updated: explicitly convert uuid


From: gnunet
Subject: [GNUnet-SVN] [taler-blog] branch master updated: explicitly convert uuid to string
Date: Wed, 17 Jan 2018 23:26:12 +0100

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 491e171  explicitly convert uuid to string
491e171 is described below

commit 491e171b657527ca056cb46a28346d9f2b8cc015
Author: Florian Dold <address@hidden>
AuthorDate: Wed Jan 17 23:26:03 2018 +0100

    explicitly convert uuid to string
---
 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 c118872..13cf2eb 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -166,7 +166,7 @@ def article(article_name, data=None):
     session_sig = flask.request.args.get("session_sig")
 
     if not session_id:
-        session_id = flask.session["uid"] = uuid.uuid4()
+        session_id = flask.session["uid"] = str(uuid.uuid4())
 
     if paid_articles_cache.get(session_id + "-" + article_name):
         return render_article(article_name)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]