mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 20:22:22 +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)
|
||||
return md.convert(text)
|
||||
except (ImportError, AttributeError):
|
||||
except ImportError:
|
||||
apply_markdown = None
|
||||
markdown = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user