gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch master updated: parsing, next try


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: parsing, next try
Date: Wed, 08 May 2019 04:31:10 +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 78ac482  parsing, next try
78ac482 is described below

commit 78ac482304703ea23fc2d9934756b1dd63aeb9d1
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 8 04:30:50 2019 +0200

    parsing, next try
---
 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]