diff --git a/ccpq/lib_ccpq.py b/ccpq/lib_ccpq.py index 91d7c69..9550ad6 100644 --- a/ccpq/lib_ccpq.py +++ b/ccpq/lib_ccpq.py @@ -68,6 +68,8 @@ class Question(object): """needs quite some work""" if not isinstance(answers, list): raise TypeError + if len(answers) == 0: + return False right_answers = list(self._answers) # need a copy so we don't change for future questions for answer in answers: try: