setup: except runtimeerror

This commit is contained in:
Dylan Araps 2017-07-28 16:06:17 +10:00
parent 82e15672ba
commit 8e1841c8de

View File

@ -11,7 +11,7 @@ except (ImportError, SyntaxError):
try: try:
import pypandoc import pypandoc
LONG_DESC = pypandoc.convert("README.md", "rst") LONG_DESC = pypandoc.convert("README.md", "rst")
except(IOError, ImportError): except(IOError, ImportError, RuntimeError):
LONG_DESC = open('README.md').read() LONG_DESC = open('README.md').read()