Merge pull request #34 from danroth27/patch-2

Update extension.py
This commit is contained in:
Eric Holscher 2015-09-22 08:22:29 -07:00
commit 9a764df41a

View File

@ -43,7 +43,7 @@ def run_autoapi(app):
domain_obj = domain(app, template_dir=app.config.autoapi_template_dir)
if app.config.autoapi_file_patterns:
file_patterns = app.config.autoapi_file_pattern
file_patterns = app.config.autoapi_file_patterns
else:
file_patterns = default_file_mapping.get(app.config.autoapi_type, [])