We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7423875 commit c15a4d5Copy full SHA for c15a4d5
web_programming/currency_converter.py
@@ -10,9 +10,11 @@
10
URL_BASE = "https://www.amdoren.com/api/currency.php"
11
TESTING = os.getenv("CI", False)
12
API_KEY = os.getenv("AMDOREN_API_KEY", "")
13
-if not API_KEY and not TESTING:
14
- raise KeyError("Please put your API key in an environment variable.")
15
+if not API_KEY and not TESTING:
+ raise KeyError(
16
+ "API key must be provided in the 'AMDOREN_API_KEY' environment variable."
17
+ )
18
19
# Currency and their description
20
list_of_currencies = """
0 commit comments