From 4de64065aed0b2e9a188541d6cc0ee6911e4db31 Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Sun, 12 Jan 2020 14:18:07 -0600 Subject: [PATCH] XML bug fix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0aacfeb..bbedceb 100644 --- a/main.py +++ b/main.py @@ -338,7 +338,7 @@ class MainView(View): for v in row: SubElem(tr, 'td').text = v - win_write_clipboard_html(ElementTree.tostring(table)) + win_write_clipboard_html(ElementTree.tostring(table, encoding = 'unicode')) self.gen_table_btn = ttk.Button(actions_frame, text = "Copy table to clipboard", command = on_gen_table) self.student_sel.pack(**TK_PAD, side = tk.LEFT) -- 2.30.2