Bug fix
authorJakob Cornell <jakob+gpg@jcornell.net>
Sun, 12 Jan 2020 20:19:08 +0000 (14:19 -0600)
committerJakob Cornell <jakob+gpg@jcornell.net>
Sun, 12 Jan 2020 20:19:08 +0000 (14:19 -0600)
main.py

diff --git a/main.py b/main.py
index bbedceb2995fe2f6ca7bcfdb4d5a48e27329b74d..27e0f11d24593be3cc8aa56b6f80dc8ac3c865b4 100644 (file)
--- 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 = '<html><body><!--StartFragment-->'.encode('utf-8')
                post = '<!--EndFragment--></body></html>'.encode('utf-8')
                def offsets_for(header_len):