We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f2cd9c commit 000274cCopy full SHA for 000274c
bob/__init__.py
@@ -1,7 +1,7 @@
1
"""
2
Constants used by bob.
3
4
-__version__ = "2.7.3"
+__version__ = "2.7.4"
5
6
import random
7
cogs/webapi.py
@@ -95,7 +95,7 @@ def question_list():
95
questions = {i: q for i, q in questions.items() for r in q["responses"] if response_search in r["text"]}
96
start = int(start) if start else None
97
count = int(count) if count else None
98
- end = start + count if start is not None and count is not None else None
+ end = start + count if start is not None and count is not None else count
99
questions = {i: q for i, q in list(questions.items())[start:end]}
100
return questions
101
0 commit comments