Fix confoverrides parameter was ignored

This commit is contained in:
Takeshi KOMIYA
2018-03-29 10:24:48 +09:00
parent febca7cf26
commit 00e9e560b1

View File

@@ -186,7 +186,7 @@ class Sphinx(object):
# read config
self.tags = Tags(tags)
if self.confdir is None:
self.config = Config()
self.config = Config({}, confoverrides or {})
else:
self.config = Config.read(path.join(self.confdir, CONFIG_FILENAME),
confoverrides or {}, self.tags)