summaryrefslogtreecommitdiff
path: root/talerbank
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-05-08 04:33:33 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-05-08 04:33:33 +0200
commit801d7032206cd89477bc201eccb5da47a5b975f2 (patch)
tree07236b63710577b9c3372ac4b21e2b854dd0af72 /talerbank
parent78ac482304703ea23fc2d9934756b1dd63aeb9d1 (diff)
downloadbank-801d7032206cd89477bc201eccb5da47a5b975f2.tar.gz
bank-801d7032206cd89477bc201eccb5da47a5b975f2.tar.bz2
bank-801d7032206cd89477bc201eccb5da47a5b975f2.zip
oops
Diffstat (limited to 'talerbank')
-rw-r--r--talerbank/app/views.py2
1 files changed, 1 insertions, 1 deletions
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])
##