Haofu,

Add_to_favourite 函数里,
        category = getattr(appobj, 'category', '')
换成
        category = appobj.category
行么?是不是你担心有的 appobj 没有 category 属性?
_______________________________________________
Mailing list: https://launchpad.net/~ailurus
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ailurus
More help   : https://help.launchpad.net/ListHelp

回复