Download:
child 66:db31e73bde12
parent 64:ef5755f23a35
65:db29d521fe06
Anton Shestakov <av6@dwimlabs.net>, Sat, 25 Jun 2016 17:10:24 +0800
incoming: strip linebreaks from lines before storing them

1 файлов изменено, 1 вставок(+), 0 удалений(-) [+]
incoming.py file | annotate | diff | comparison | revisions
--- a/incoming.py Fri Jun 24 21:11:16 2016 +0800
+++ b/incoming.py Sat Jun 25 17:10:24 2016 +0800
@@ -94,6 +94,7 @@
finished = None
for line in lines:
+ line = line.rstrip('\r\n')
item = {'text': line}
if line.startswith(meta_prefix):