mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-19 04:32:28 +03:00
fix(compat): remove attribute error
This commit is contained in:
parent
305edf5c9f
commit
b6febd6fe9
|
@ -82,7 +82,7 @@ try:
|
||||||
)
|
)
|
||||||
md_filter_add_syntax_highlight(md)
|
md_filter_add_syntax_highlight(md)
|
||||||
return md.convert(text)
|
return md.convert(text)
|
||||||
except (ImportError, AttributeError):
|
except ImportError:
|
||||||
apply_markdown = None
|
apply_markdown = None
|
||||||
markdown = None
|
markdown = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user