5 May
2006
5 May
'06
3:58 a.m.
--On 4. Mai 2006 22:22:25 +0200 Jaroslav Lukesh <lukesh@seznam.cz> wrote:
import cStringIO import mimetools from Products.PythonScripts.Utility import allow_module allow_module("base64")
Please read carefully. The documentation tells you to put allow_module() inside somewhere in Products/YOUR_PRODUCT/__init__.py but not inside the PythonScript itself. -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting