Yes, it works.

instead of:
>>> Photo(filename="bla.jpg",keywords="k1,k2")

I now do:
>>> p = Photo(filename="bla.jpg")
>>> p.keywords = "k1,k2"

and that works.

2007/5/13, Oleg Broytmann <>:
On Sun, May 13, 2007 at 02:53:11PM +0200, TiNo wrote:
> I found out what caused the error though.While debugging I discovered that
> the the Photo gets passed on as a uninstantiated class. So I have to create
> the photo first, and then add the keyword!

   Does it work now?

     Oleg Broytmann     
           Programmers don't die, they just GOSUB without RETURN.