diff --git a/project/database.py b/project/database.py index 478e1da..a951adb 100644 --- a/project/database.py +++ b/project/database.py @@ -11,7 +11,7 @@ engines = { def config(): - service_name = os.getenv('DATABASE_SERVICE_NAME') + service_name = os.getenv('DATABASE_SERVICE_NAME').upper() if service_name: engine = engines.get(os.getenv('DATABASE_ENGINE'), engines['sqlite']) else: