From 0d8b783c0d25de59eddbcd2f21e2e8f0b41757e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 18 Mar 2015 23:19:58 +0100 Subject: [PATCH] Use lower name for email module issue3211 --- trytond/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trytond/__init__.py b/trytond/__init__.py index 3e9d40d99d..14c9621581 100644 --- a/trytond/__init__.py +++ b/trytond/__init__.py @@ -2,7 +2,7 @@ # this repository contains the full copyright notices and license terms. import os import time -from email import Charset +from email import charset from . import server @@ -13,4 +13,4 @@ if hasattr(time, 'tzset'): time.tzset() # set email encoding for utf-8 to 'quoted-printable' -Charset.add_charset('utf-8', Charset.QP, Charset.QP) +charset.add_charset('utf-8', charset.QP, charset.QP)