Ignore:
Timestamp:
05/12/08 16:46:59 (11 years ago)
Author:
jukka
Message:

Fixed #1734.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ExerciseMaterial.py

    r2351 r2378  
    8686        dump= '\n'.join([x[0] for x in values if x[1] not in ['media_piece', 'multiple_choices']]) 
    8787        return dump 
     88 
     89    def getOnlyRawText(self): 
     90        field=self.getField('bodyText') 
     91        values = field.getRaw(self) 
     92        dump= '\n'.join([x[0] for x in values if x[1] not in ['media_piece', 'multiple_choices']]) 
     93        return dump 
     94 
    8895 
    8996    def isCorrectAnswer(self, chapter, answer_index): 
Note: See TracChangeset for help on using the changeset viewer.