From 7fb3453a682bd6f88bf2e2cf826a60dcee1f1edc Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 26 Jul 2020 17:28:32 +0100 Subject: [PATCH] Removing executemany --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index fd2fd625..eef9a8d0 100644 --- a/main.py +++ b/main.py @@ -164,7 +164,7 @@ async def reload_db(ctx): map(lambda m: f"({ctx.guild.id}, {m.id})", ctx.guild.members)) try: # Execute the query - await cursor.executemany(insert) + await cursor.execute(insert) except Exception as e: print(e) print(cursor.rowcount, f"Record(s) inserted successfully into Members from {ctx.guild.name}")