gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch stable updated (da73a5b -> 96acdf3)


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch stable updated (da73a5b -> 96acdf3)
Date: Wed, 08 May 2019 04:27:51 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch stable
in repository bank.

    from da73a5b  do not json-decode payto URIs
     add 96acdf3  fix payto parsing

No new revisions were added by this update.

Summary of changes:
 talerbank/app/views.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index e58df0b..4a3caf3 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -308,10 +308,10 @@ def make_question():
     return question, hash_answer(answer)
 
 
-def get_acct_from_payto(s: str) -> int:
-    wire_uri = urlparse(wire_details)
+def get_acct_from_payto(uri_str: str) -> int:
+    wire_uri = urlparse(uri_str)
     if wire_uri.scheme != "payto":
-        raise Exception("exchange_wire_details must be a payto URI")
+        raise Exception("wire URI must be a payto URI")
     return int(wire_uri.split("/")[-1])
 
 

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



reply via email to

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