commit edff3da0ba28389a19fd7b7b6e9cdd0838d047e3
parent b035f10697888c1f72c9eaf3bde8d3753b3df4c9
Author: MS <ms@taler.net>
Date: Fri, 24 Jul 2020 14:16:46 +0200
nameError
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/taler-config-instances b/bin/taler-config-instances
@@ -11,7 +11,7 @@ if not MERCHANT_BACKEND_BASE_URL:
exit(1)
TALER_ENV_NAME = environ.get("TALER_ENV_NAME")
-if not MERCHANT_BACKEND_BASE_URL:
+if not TALER_ENV_NAME:
print("TALER_ENV_NAME not defined. Please source the ~/activate file.")
exit(1)
diff --git a/bin/taler-config-tips b/bin/taler-config-tips
@@ -14,7 +14,7 @@ def expectResponse(response, expected_status_codes):
return response
TALER_ENV_NAME = environ.get("TALER_ENV_NAME")
-if not MERCHANT_BACKEND_BASE_URL:
+if not TALER_ENV_NAME:
print("TALER_ENV_NAME not defined. Please source the ~/activate file.")
exit(1)
MERCHANT_BACKEND = f"https://backend.{TALER_ENV_NAME}.taler.net/"