diff --git a/autogenerate_config_docs/autohelp.py b/autogenerate_config_docs/autohelp.py index 486f78d8..3203f7b6 100755 --- a/autogenerate_config_docs/autohelp.py +++ b/autogenerate_config_docs/autohelp.py @@ -280,7 +280,7 @@ def _sanitize_default(opt): if isinstance(opt, cfg.StrOpt) and default.strip() != default: return '"%s"' % default - for pathelm in sys.path[1:]: + for pathelm in sys.path: if pathelm == '': continue if pathelm.endswith('/'):