Skip to content

Commit

Permalink
update clear_invalid_repo_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
likesclever authored Oct 30, 2023
1 parent 4f384d3 commit 01d6dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seahub/base/management/commands/clear_invalid_repo_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 01d6dbe

Please sign in to comment.