From f416a5242064e7fd4a1e030fe41066cc2d22d210 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 22 2015 15:04:21 +0000 Subject: Fix case, configuration option are upper case --- diff --git a/mdapi/__init__.py b/mdapi/__init__.py index fa85ec1..3bb4bae 100644 --- a/mdapi/__init__.py +++ b/mdapi/__init__.py @@ -150,11 +150,11 @@ def init(loop): srv = yield from loop.create_server( app.make_handler(), - CONFIG.get('host', '127.0.0.1'), + CONFIG.get('HOST', '127.0.0.1'), CONFIG.get('PORT', 8080)) print( "Server started at http://%s:%s" % ( - CONFIG.get('host', '127.0.0.1'), + CONFIG.get('HOST', '127.0.0.1'), CONFIG.get('PORT', 8080)) ) return srv