Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
acbfcf58
Commit
acbfcf58
authored
Mar 14, 2017
by
Robin Sonnabend
Browse files
Replace '\n' by '=0A' (instead of '=0D=0A') in QP
the calendar interprets \r\n as two newlines. /close
#59
parent
353530de
Changes
1
Hide whitespace changes
Inline
Side-by-side
calendarpush.py
View file @
acbfcf58
...
...
@@ -145,5 +145,5 @@ def get_timezone_offset():
return
timedelta
(
hours
=
round
(
difference
.
seconds
/
3600
+
difference
.
days
*
24
))
def
encode_quopri
(
text
):
return
quopri
.
encodestring
(
text
.
encode
(
"utf-8"
)).
replace
(
b
"
\n
"
,
b
"=
0D=
0A"
).
decode
(
"utf-8"
)
return
quopri
.
encodestring
(
text
.
encode
(
"utf-8"
)).
replace
(
b
"
\n
"
,
b
"=0A"
).
decode
(
"utf-8"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment