View Single Post
Old 11-02-2010, 09:15 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Sorry. Been a while since I messed with the code.

Try
mi.set(field key, field value)
e.g.
mi.set('#foo', 'this is what foo is')

If 'foo' is a series-type field, then you need to supply a third parameter that is the series index.

The python prototype is 'def set(self, field, val, extra=None):'
chaley is offline   Reply With Quote