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 (96acdf3 -> 78ac482)


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

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

dold pushed a change to branch stable
in repository bank.

    from 96acdf3  fix payto parsing
     new 78ac482  parsing, next try

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 talerbank/app/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 4a3caf3..79c58b1 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -312,7 +312,7 @@ def get_acct_from_payto(uri_str: str) -> int:
     wire_uri = urlparse(uri_str)
     if wire_uri.scheme != "payto":
         raise Exception("wire URI must be a payto URI")
-    return int(wire_uri.split("/")[-1])
+    return int(wire_uri.netloc.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]