Browse Source

Fix type error

Fixes #1.
pull/3/head
Rodolfo Carvalho 10 years ago
parent
commit
3d6b60abd9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      project/database.py

+ 1
- 1
project/database.py View File

@ -11,7 +11,7 @@ engines = {
def config(): def config():
service_name = os.getenv('DATABASE_SERVICE_NAME').upper()
service_name = os.getenv('DATABASE_SERVICE_NAME', '').upper()
if service_name: if service_name:
engine = engines.get(os.getenv('DATABASE_ENGINE'), engines['sqlite']) engine = engines.get(os.getenv('DATABASE_ENGINE'), engines['sqlite'])
else: else:


Loading…
Cancel
Save