Updated web2py from trunk this morning. Something changed in tools.py in the 
last few days that caused the following code to fail:

attachment = (Mail.Attachment(filename))

The error that results:

File "/media/psf/Python/web2py/gluon/tools.py", line 139, in __init__
    content_type = contenttype(filename)
TypeError: 'module' object is not callable

Reply via email to