total=capa_module.LoncapaModule(p.toxml(),"id").max_score()# TODO: Add state. Not useful now, but maybe someday problems will have randomized max scores?
total=capa_module.LoncapaModule(etree.tostring(p),"id").max_score()# TODO: Add state. Not useful now, but maybe someday problems will have randomized max scores?