From 734fe328dc6195595c964f9f659fe6b98e7bf81f Mon Sep 17 00:00:00 2001 From: MZMcBride Date: Thu, 19 Jul 2018 08:46:06 -0400 Subject: [PATCH] Add ".encode('utf-8')" to Wiktionary code. --- dal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dal.py b/dal.py index 1a4aa66..a995013 100644 --- a/dal.py +++ b/dal.py @@ -169,7 +169,7 @@ def make_wiktionary_section(month, day): '\n'.join(definitions), read_more, '']) - final_sections.append(wiktionary_section) + final_sections.append(wiktionary_section.encode('utf-8')) return def make_wikiquote_section(month, day, year):