Skip to content

Commit 3546524

Browse files
authored
typing: API_KEY is a str
1 parent 560de38 commit 3546524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: web_programming/currency_converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
URL_BASE = "https://www.amdoren.com/api/currency.php"
1111
TESTING = os.getenv("CI", False)
12-
API_KEY = os.getenv("AMDOREN_API_KEY")
12+
API_KEY = os.getenv("AMDOREN_API_KEY", "")
1313
if not API_KEY and not TESTING:
1414
raise KeyError("Please put your API key in an environment variable.")
1515

0 commit comments

Comments
 (0)