We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35901eb commit d545b25Copy full SHA for d545b25
web_programming/currency_converter.py
@@ -9,7 +9,7 @@
9
10
URL_BASE = "https://www.amdoren.com/api/currency.php"
11
TESTING = os.getenv("CI", False)
12
-API_KEY = os.getenv("AMDOREN_API_KEY")
+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
0 commit comments