ocodo
ocodo

Reputation: 30248

CherryPy cannot import name safemime

Trying to import safemine from cherrypy

from cherrypy import safemime
ImportError: cannot import name safemime

Cherrypy is installed with PIP ie.

sudo pip install -U cherrypy

Upvotes: 0

Views: 313

Answers (1)

falsetru
falsetru

Reputation: 369034

According to cherrypy-users mailing list, safemime module was removed:

That module was removed in http://www.cherrypy.org/changeset/2319 because its functionality was folded into the new _cpreqbody.py module.

Upvotes: 2

Related Questions