2
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-19 21:25:30 +00:00

#571 (temporary fix)

This commit is contained in:
OzzieIsaacs 2018-08-08 06:54:38 +02:00
parent 5ec9051f2e
commit 1e5cb29fc9

View File

@ -44,8 +44,9 @@ class email(smtplib.SMTP):
def send(self, str): def send(self, str):
"""Send `str' to the server.""" """Send `str' to the server."""
if self.debuglevel > 0: if self.debuglevel > 0:
from __future__ import print_function # from __future__ import print_function
print('send:', repr(str), file=sys.stderr) # print('send:', repr(str), file=sys.stderr)
pass
if hasattr(self, 'sock') and self.sock: if hasattr(self, 'sock') and self.sock:
try: try:
if self.transferSize: if self.transferSize: