From a1f4dd89990f1d2aab81374d00a2cb0b84120fdd Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 22 2015 19:35:06 +0000 Subject: Fix case, CONFIG is not config --- diff --git a/mdapi/__init__.py b/mdapi/__init__.py index 01e1a99..851bb71 100644 --- a/mdapi/__init__.py +++ b/mdapi/__init__.py @@ -54,7 +54,7 @@ indexfile = os.path.join( INDEX = '' with open(indexfile) as stream: INDEX = stream.read() - INDEX = INDEX.replace('$PREFIX', config.get('PREFIX', '')) + INDEX = INDEX.replace('$PREFIX', CONFIG.get('PREFIX', '')) def _get_pkg(branch, name):