Changeset 3300
- Timestamp:
- 01/27/08 00:16:50 (17 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r3299 r3300 946 946 try : 947 947 msg = MIMEText(fullmessage, _charset=self.charset) 948 msg["Subject"] = Header(_("Print Quota"), charset=self.charset )948 msg["Subject"] = Header(_("Print Quota"), charset=self.charset, errors="replace") 949 949 msg["From"] = adminmail 950 950 if mailto in ("BOTH", "USER") : -
pykota/trunk/pykota/tool.py
r3298 r3300 247 247 msg = MIMEText(fullmessage, _charset=self.charset) 248 248 msg["Subject"] = Header("PyKota v%s crash traceback !" \ 249 % __version__, charset=self.charset )249 % __version__, charset=self.charset, errors="replace") 250 250 msg["From"] = admin 251 251 msg["To"] = crashrecipient