Merge pull request #3 from rhcarvalho/issue-1

Fix type error
This commit is contained in:
Ben Parees 2015-06-03 12:13:22 -04:00
commit 5488484238

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: