[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: params fo
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: params for GET |
Date: |
Wed, 22 Feb 2017 15:42:06 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontends.
The following commit(s) were added to refs/heads/master by this push:
new 5b8b1cb params for GET
5b8b1cb is described below
commit 5b8b1cba266e49181361dba762005b3af39521e7
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Feb 22 15:42:10 2017 +0100
params for GET
---
talerfrontends/helpers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerfrontends/helpers.py b/talerfrontends/helpers.py
index d17c249..43056cd 100644
--- a/talerfrontends/helpers.py
+++ b/talerfrontends/helpers.py
@@ -234,7 +234,7 @@ def get_history(days):
d = datetime.timedelta(days=days)
date = now - d
url = urljoin(current_app.config["BACKEND_URL"], "history")
- r = requests.get(url, dict(date=date.strftime("%s")))
+ r = requests.get(url, params=dict(date=date.strftime("%s")))
if r.status_code != 200:
logger.error("failed to GET to '%s'", url)
raise BackendError(r.status_code, r.text)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant-frontends] branch master updated: params for GET,
gnunet <=