commit 5cdbbef4002628e66af168a88aa8a6635ddd3d24 parent 21b8d924c847c503540e3e8672407922c585d1ba Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Sun, 26 Mar 2017 22:48:46 +0200 NameError fixes Diffstat:
| M | python/example/example.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/example/example.py b/python/example/example.py @@ -45,8 +45,8 @@ def donate(): @app.route("/generate-proposal") def generate_proposal(): - DONATION = amounts.string_to_amount("0.1:%s" % CURRENCY) - MAX_FEE = amounts.string_to_amount("0.05:%s" % CURRENCY) + DONATION = amount.string_to_amount("0.1:%s" % CURRENCY) + MAX_FEE = amount.string_to_amount("0.05:%s" % CURRENCY) order = dict( nonce=flask.request.args.get("nonce"), amount=DONATION,