[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: fix payto parsing
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: fix payto parsing |
Date: |
Wed, 08 May 2019 04:27:45 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 96acdf3 fix payto parsing
96acdf3 is described below
commit 96acdf3805a3bf5b21adb018f3519a4c046ad663
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 8 04:27:42 2019 +0200
fix payto parsing
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: fix payto parsing,
gnunet <=