[Zope] Can not add photofolder programmatically

Dieter Maurer dieter@handshake.de
Wed, 5 Sep 2001 00:23:29 +0200 (CEST)


Robert Rottermann writes:
 > I am trying to add a photofolder by help of a script.
 > 
 > context.manage_addProduct['ZipFolder']..... works
 > as does
 > context.manage_addProduct['Photo']
 > where
 > context.manage_addProduct['PhotoFolder ']...
You notice the space:                    ^

Spaces are significant in strings....
 > does not.
 > I get an error 
 > Error Type: AttributeError
 > Error Value: PhotoFolder


Dieter