Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def long_description():
try:
import pypandoc
long_desc = pypandoc.convert_file('README.md', 'rst')
long_desc += '\n' + pypandoc.convert_file('AUTHORS.md', 'rst')
except Exception as e:
print(e)
long_desc = imgkit.__doc__.strip()
return long_desc