Site
Gitweb
Static
projects
/
tutoring-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de6406
)
Bug fix
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Sun, 12 Jan 2020 20:19:08 +0000
(14:19 -0600)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Sun, 12 Jan 2020 20:19:08 +0000
(14:19 -0600)
main.py
patch
|
blob
|
history
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):