fix retry_scoring_failed_message_trees()

This commit is contained in:
Andreas Köpf
2023-01-29 16:57:45 +01:00
parent 222059b1b2
commit 61b2949122
+1 -1
View File
@@ -1410,7 +1410,7 @@ DELETE FROM user_stats WHERE user_id = :user_id;
try:
if not self.check_condition_for_scoring_state(mts.message_tree_id):
mts.active = True
self._enter_state(message_tree_state.State.RANKING)
self._enter_state(mts, message_tree_state.State.RANKING)
except Exception:
logger.exception(f"retry_scoring_failed_message_trees failed for ({mts.message_tree_id=})")