diff --git a/xmodule/capa_block.py b/xmodule/capa_block.py index 1a096e76b22d..b048b4f02a06 100644 --- a/xmodule/capa_block.py +++ b/xmodule/capa_block.py @@ -1498,14 +1498,14 @@ def answer_available(self): if not self.correctness_available(): # If correctness is being withheld, then don't show answers either. return False - elif self.showanswer == '': - return False elif self.showanswer == SHOWANSWER.NEVER: return False elif user_is_staff: # This is after the 'never' check because admins can see the answer # unless the problem explicitly prevents it return True + elif self.showanswer == '': + return False elif self.showanswer == SHOWANSWER.ATTEMPTED: return self.is_attempted() or self.is_past_due() elif self.showanswer == SHOWANSWER.ANSWERED: