def get_statement():
try:
with open('PRIVACY_STATEMENT.md', 'r') as f:
print('Using custom privacy statement')
return mistune.markdown(f.read(), escape=False, hard_wrap=True)
except FileNotFoundError:
print('Using default privacy statement.')
return DEFAULT_STATEMENT
评论列表
文章目录