def _commission_scan_list(self): """ Returns: SelectedGrids: SelectedGrids containing Commission objects """ commission = SelectedGrids([]) for _ in range(15): new = self._commission_detect(self.device.image) commission = commission.add_by_eq(new) # End if not self._commission_swipe(): break return commission
def _commission_scan_list(self): """ Returns: SelectedGrids: SelectedGrids containing Commission objects """ self.device.click_record_clear() commission = SelectedGrids([]) for _ in range(15): new = self.commission_detect(trial=2) commission = commission.add_by_eq(new) # End if not self._commission_swipe(): break self.device.click_record_clear() return commission