When no sorting was selected, `result` was a `odict_items` which is not
subscriptable, so the slicing was failing.
This commit is contained in:
Alexandre Garnier 2020-04-20 19:40:43 +02:00
parent 6b347f3725
commit 757369ed9c

View file

@ -172,7 +172,7 @@ class CallbackModule(CallbackBase):
timestamp(self)
self.current = None
results = self.stats.items()
results = list(self.stats.items())
# Sort the tasks by the specified sort
if self.sort_order is not None: