Bug fixes
This commit is contained in:
parent
6c38349cc3
commit
92040c4531
@ -111,7 +111,7 @@ class Ldoce6(MdxService):
|
|||||||
soup = parse_html(m[0])
|
soup = parse_html(m[0])
|
||||||
el_list = soup.findAll('span', {'class':'example'})
|
el_list = soup.findAll('span', {'class':'example'})
|
||||||
if el_list:
|
if el_list:
|
||||||
maps = [u''.join(str(content).decode('utf-8') for content in element.contents)
|
maps = [u''.join(str(content) for content in element.contents)
|
||||||
for element in el_list]
|
for element in el_list]
|
||||||
my_str = ''
|
my_str = ''
|
||||||
for i_str in maps:
|
for i_str in maps:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user