diff --git a/src/server/test_api.py b/src/server/test_api.py index 18867f8d..401be742 100644 --- a/src/server/test_api.py +++ b/src/server/test_api.py @@ -3,7 +3,7 @@ try: from secrets import BASEUSER_PW, BASEADMIN_PW -except KeyError: +except ImportError: BASEUSER_PW = os.environ['BASEUSER_PW'] BASEADMIN_PW = os.environ['BASEADMIN_PW']