fix entries_with_content being forgotten
This commit is contained in:
parent
7762ffd80a
commit
f55571168a
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class DudleBot:
|
||||||
if len(entries_with_content) == 0:
|
if len(entries_with_content) == 0:
|
||||||
entries = [PlanEntry(name="???", responses=[])]
|
entries = [PlanEntry(name="???", responses=[])]
|
||||||
else:
|
else:
|
||||||
entries = plan.entries.values()
|
entries = entries_with_content
|
||||||
|
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
responses = [entry.responses[i] if i < len(entry.responses) else PlanResponse.UNKNOWN
|
responses = [entry.responses[i] if i < len(entry.responses) else PlanResponse.UNKNOWN
|
||||||
|
|
Loading…
Reference in a new issue