mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Fix etree deprecation
This commit is contained in:
parent
126e6b7443
commit
e9f37ab201
2 changed files with 3 additions and 2 deletions
pokedex/db
|
@ -17,8 +17,9 @@ import re
|
|||
import markdown
|
||||
import six
|
||||
from sqlalchemy.orm.session import object_session
|
||||
from markdown.util import etree, AtomicString
|
||||
|
||||
from markdown.util import AtomicString
|
||||
import xml.etree.ElementTree as etree
|
||||
|
||||
@six.python_2_unicode_compatible
|
||||
class MarkdownString(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue