Skip to content
Snippets Groups Projects
Commit 856610b4 authored by Enzo Simonnet's avatar Enzo Simonnet
Browse files

on return un json.dumps dans le wrapper

parent 6c829c43
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,10 @@ class Wiktextract:
if not page:
return None
result = parse_page(self.wxr, title, page.body)
return self.convert(result)
converted_result = self.convert(result)
return json.dumps(converted_result)
#return result
def convert(self, data_format1):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment