mirror of
https://github.com/deepinsight/insightface.git
synced 2025-12-30 08:02:27 +00:00
tiny
This commit is contained in:
@@ -28,7 +28,7 @@ pypandoc_enabled = True
|
||||
try:
|
||||
import pypandoc
|
||||
print('pandoc enabled')
|
||||
long_description = pypandoc.convert('README.md', 'rst')
|
||||
long_description = pypandoc.convert_file('README.md', 'rst')
|
||||
except (IOError, ImportError, ModuleNotFoundError):
|
||||
print('WARNING: pandoc not enabled')
|
||||
long_description = open('README.md').read()
|
||||
|
||||
Reference in New Issue
Block a user