|
From: Christophe G. <chr...@gm...> - 2013-06-22 13:11:51
|
On Sat, Jun 22, 2013 at 3:03 PM, Hendra <hen...@gm...> wrote:
> It seems like I would have to pass the config in a dict, but when I try to
> initialize the extension with the name of the extension, it receives the
> config as a list (I am guessing from config.items() ).
Hi, guessing is not enough!
Are you sure it is a list?
Sorry to give Python basics:
Lists have no .items(), and dicts' items are returned as a list,
you can check with >>> [].items() and >>> {}.items().
Have a try using `type` to check the type accurately.
chri
|