Skip to content

Commit

Permalink
Fix ids_list_string
Browse files Browse the repository at this point in the history
  • Loading branch information
Eden-D-Zhang committed Jan 30, 2025
1 parent 3241f61 commit d69684a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _delete_archives(
archive_ids: typing.List[str] = [result["id"] for result in results]
delete_handler.validate_results(archive_ids)

ids_list_string: str = ",".join(["%s"] * len(archive_ids))
ids_list_string: str = ", ".join(["'%s'"] * len(archive_ids))

db_cursor.execute(
f"""
Expand Down

0 comments on commit d69684a

Please sign in to comment.