Changeset 3464 for pykota/trunk/bin/cupspykota
- Timestamp:
- 12/07/08 21:49:04 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r3463 r3464 942 942 else : 943 943 try : 944 msg = MIMEText(fullmessage, _charset=self.charset) 945 msg["Subject"] = Header(_("Print Quota"), charset=self.charset, errors="replace") 944 msg = MIMEText(fullmessage.encode(self.charset, 945 "replace"), 946 _charset=self.charset) 947 subject = _("Print Quota") 948 msg["Subject"] = Header(subject.encode(self.charset, "replace"), 949 charset=self.charset, 950 errors="replace") 946 951 msg["From"] = adminmail 947 952 if mailto in ("BOTH", "USER") :