From: Jakob Cornell Date: Sun, 12 Jan 2020 20:19:08 +0000 (-0600) Subject: Bug fix X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=8dc0978e8b4679585afbf8bf6ea79e6c0eaa7ce8;p=tutoring-tool.git Bug fix --- diff --git a/main.py b/main.py index bbedceb..27e0f11 100644 --- a/main.py +++ b/main.py @@ -25,14 +25,14 @@ def win_write_clipboard_html(text): clip.CloseClipboard() def compute_payload(text): - header = '\r\n'.join( + header = '\r\n'.join([ 'Version:0.9', 'StartHTML:{}', 'EndHTML:{}', 'StartFragment:{}', 'EndFragment:{}', '', - ) + ]) pre = ''.encode('utf-8') post = ''.encode('utf-8') def offsets_for(header_len):