fixing check_docs2.py issue

http://build.opencv.org/builders/precommit_docs/builds/9223