FIX doc path when locale is en (default)

This commit is contained in:
resteve 2013-05-24 13:58:03 +02:00
parent aa406db28b
commit 0e6fce4121
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ def get_description(lang, src, name):
if os.path.exists(doc_path):
return read_rst(doc_path)
doc_path = '%s/doc/index.rst' % (path)
doc_path = '%s/doc/index.rst' % (src)
if os.path.exists(doc_path):
return read_rst(doc_path)