diff --git a/db/migrations/versions/~2023_11_10_1122-af78512b644f_.py b/db/migrations/versions/~2023_11_10_1122-af78512b644f_.py index 02c0f03f..b88af59d 100644 --- a/db/migrations/versions/~2023_11_10_1122-af78512b644f_.py +++ b/db/migrations/versions/~2023_11_10_1122-af78512b644f_.py @@ -72,7 +72,7 @@ def downgrade(): else: comments_update_dict[comment_id] = [{"id": id, "comment": comment, "date_created": date_created}] - for comment_id, date_created in comments: + for comment_id, _date_created in comments: for i_comment_id, val in comments_update_dict.items(): val = sorted(val, key=lambda x: x["date_created"]) if comment_id == i_comment_id: