gnunet-svn
[Top][All Lists]
Advanced

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

[taler-bank] branch master updated: use space as separator for exchange


From: gnunet
Subject: [taler-bank] branch master updated: use space as separator for exchange deposit transfer
Date: Fri, 17 Jan 2020 23:52:04 +0100

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 aadf768  use space as separator for exchange deposit transfer
aadf768 is described below

commit aadf76854b3a846b1b1333a61764ec48a8a3b95d
Author: Florian Dold <address@hidden>
AuthorDate: Fri Jan 17 23:51:58 2020 +0100

    use space as separator for exchange deposit transfer
---
 talerbank/app/views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 74219ef..3c76019 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -831,7 +831,7 @@ def twg_transfer(request, user_account, acct_id):
     credit_user = User.objects.get(username=credit_account_name)
     credit_account = BankAccount.objects.get(user=credit_user)
 
-    subject = f"{wtid}\n{exchange_base_url}"
+    subject = f"{wtid} {exchange_base_url}"
 
     wtrans = wire_transfer(
         amount,
@@ -900,7 +900,7 @@ def twg_history_outgoing(request, user_account, acct_id):
     )
     for item in qs:
         # FIXME: proper parsing, more structure in subject
-        wtid, exchange_base_url = item.subject.splitlines()
+        wtid, exchange_base_url = item.subject.split(" ")
         history.append(dict(
             row_id=item.id,
             amount=item.amount.stringify(settings.TALER_DIGITS),

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]