Fix for a run-time error in sphinx_doc_gen.py on Windows.

This commit is contained in:
Tamito Kajiyama 2014-09-18 15:45:21 +09:00
parent f87ca5f1c3
commit cf0ce0afc7
1 changed files with 2 additions and 2 deletions

View File

@ -1870,8 +1870,8 @@ def rna2sphinx(basepath):
# context
if "bpy.context" not in EXCLUDE_MODULES:
# one of a kind, context doc (uses ctypes to extract info!)
# doesn't work on mac
if PLATFORM != "darwin":
# doesn't work on mac and windows
if PLATFORM not in ["darwin", "windows"]:
pycontext2sphinx(basepath)
# internal modules