We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4136810 commit 2e74f25Copy full SHA for 2e74f25
src/server/test_api.py
@@ -3,7 +3,7 @@
3
4
try:
5
from secrets import BASEUSER_PW, BASEADMIN_PW
6
-except KeyError:
+except ImportError:
7
BASEUSER_PW = os.environ['BASEUSER_PW']
8
BASEADMIN_PW = os.environ['BASEADMIN_PW']
9
0 commit comments