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: oops


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: oops
Date: Wed, 08 May 2019 04:33:37 +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 801d703  oops
801d703 is described below

commit 801d7032206cd89477bc201eccb5da47a5b975f2
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 8 04:33:33 2019 +0200

    oops
---
 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 79c58b1..1511723 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.netloc.split("/")[-1])
+    return int(wire_uri.path.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]