diff --git a/captcha.py b/captcha.py index 922db68..280a50a 100644 --- a/captcha.py +++ b/captcha.py @@ -135,10 +135,9 @@ def valid_captcha(self,tick_id,magic,pow_list) : if not magic == tick_status : return self.tick_valid_state.add_tick(tick_status) - + + valid_result = pow.valid_pow(pow_list, self.tick_pow_list.get_tick_data(tick_id)) self.tick_pow_list.remove_tick(tick_id) - - valid_result = pow.valid_pow(pow_list) if valid_result : return self.tick_valid_state.add_tick(tick_result.tick_state_success) @@ -185,4 +184,4 @@ def post(self) : captcha = captcha_valid() - \ No newline at end of file +