mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
Patch for imap4-utf-7 on Debian 11 and Python 3.9 #227
Patch for imap4-utf-7 on Debian 11 and Python 3.9 #227
This commit is contained in:
committed by
Antoine Nguyen
parent
ed5304f811
commit
6e26b718d8
@@ -126,7 +126,7 @@ class StreamWriter(codecs.StreamWriter):
|
||||
|
||||
|
||||
def imap4_utf_7(name):
|
||||
if name == "imap4-utf-7":
|
||||
if name == "imap4-utf-7" or name == "imap4_utf_7":
|
||||
return (encoder, decoder, StreamReader, StreamWriter)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user