Fix type error

Fixes #1.
This commit is contained in:
Rodolfo Carvalho 2015-06-03 17:27:32 +02:00
parent 2dde1e072d
commit 3d6b60abd9

View file

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