예제 #1
0
 def extract(self):
     value, error = WidgetExtractor.extract(self)
     if value == 'True':
         value = True
     else:
         value = False
     return (value, error)
예제 #2
0
 def extract(self):
     value, error = WidgetExtractor.extract(self)
     if value == 'selected':
         return True, None
     return False, None