mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-12-01 20:33:51 +01:00
setup: except runtimeerror
This commit is contained in:
parent
82e15672ba
commit
8e1841c8de
2
setup.py
2
setup.py
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user