From 01d6dbe8408dc3801ad865fd17717f4dae30585b Mon Sep 17 00:00:00 2001 From: WJH <40563566+loveclever@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:21:19 +0800 Subject: [PATCH] update clear_invalid_repo_data.py --- seahub/base/management/commands/clear_invalid_repo_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/base/management/commands/clear_invalid_repo_data.py b/seahub/base/management/commands/clear_invalid_repo_data.py index 62e4219d98f..c8dc9774a48 100644 --- a/seahub/base/management/commands/clear_invalid_repo_data.py +++ b/seahub/base/management/commands/clear_invalid_repo_data.py @@ -83,7 +83,7 @@ def query_invalid_repo_ids(self, all_repo_ids, repo_id_count, table_name): return for repo_id, *_ in res: - repo_ids.append(repo_ids) + repo_ids.append(repo_id) if repo_id not in all_repo_ids: invalid_repo_ids.append(repo_id)