[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontend-examples] 02/02: forcing pytaler i
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontend-examples] 02/02: forcing pytaler installation |
Date: |
Tue, 21 Feb 2017 17:04:59 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontend-examples.
commit 250b9cbf0060bbf02e380282c93788789f729c89
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Feb 21 17:05:01 2017 +0100
forcing pytaler installation
---
Python/lib/Makefile | 2 +-
Python/tutorial/tutorial.py | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Python/lib/Makefile b/Python/lib/Makefile
index 26cdbc4..cf3cacc 100644
--- a/Python/lib/Makefile
+++ b/Python/lib/Makefile
@@ -1,5 +1,5 @@
install:
- pip3 install . --install-option="--prefix=$(TALER_PREFIX)"
+ pip3 install . --install-option="--prefix=$(TALER_PREFIX)" --upgrade
check:
python3 pytaler/tests.py
diff --git a/Python/tutorial/tutorial.py b/Python/tutorial/tutorial.py
index be966bd..7d6bbff 100644
--- a/Python/tutorial/tutorial.py
+++ b/Python/tutorial/tutorial.py
@@ -4,10 +4,14 @@ from urllib.parse import urljoin, urlencode
from pytaler import amounts
import base64
import os
+import logging
+import json
app = flask.Flask(__name__)
app.secret_key = base64.b64encode(os.urandom(64)).decode('utf-8')
+logger = logging.getLogger(__name__)
+
CURRENCY = "PUDOS"
BACKEND_URL = "http://backend.test.taler.net/"
--
To stop receiving notification emails like this one, please contact
address@hidden