On Thu, 26 Jul 2007 03:33:20 +0200, Kai Kuehne wrote: > I have tried to prepare a dict and then passing it to the > method afterwards: >>>> d = {'person': 'user', 'from': vorgestern} >>>> magnolia.bookmarks_find(d) > <type 'exceptions.TypeError'>: bookmarks_find() takes exactly 1 > argument (2 given) > > I'm out of ideas so help is greatly appreciated!
Try this: magnolia.bookmarks_find(**d) although I suspect that will probably raise an exception as well. Judging by the error message, it looks like bookmarks_find() takes only a single argument, which I imagine would be the "self" instance automatically provided at runtime. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list