changeset 695:82e482f6eb13

Enabled HTML mails, forgot to remove a code line.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Tue, 16 May 2006 01:25:35 +0200
parents 0c32fb700c3c
children 0d16d47c6d02
files MoinMoin/mailimport.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/mailimport.py	Tue May 16 00:26:08 2006 +0200
+++ b/MoinMoin/mailimport.py	Tue May 16 01:25:35 2006 +0200
@@ -36,7 +36,6 @@
     r"C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Progra\Python\MoinMoin\mailint\umlaute.msg.txt"
         )
 #input = file(fname)
-
 input = sys.stdin
 
 debug = False
@@ -68,7 +67,6 @@
     chunks_decoded = []
     for i in chunks:
         chunks_decoded.append(i[0].decode(i[1] or 'ascii'))
-        chunks_decoded.append(u" ") # workaround for python bug #1467619
     return u''.join(chunks_decoded).strip()
 
 def generate_unique_name(name, old_names):
@@ -131,7 +129,7 @@
         that can be found on MoinMoin:FeatureRequests/WikiEMoinMoin\mailintegration """
 
     generate_summary = False
-    choose_html = False
+    choose_html = True
     
     pagename_tpl = msg['to_addr'][0]
     if not pagename_tpl: