From a485919582fd63af9d8d9cc6f4f4280f777dfe35 Mon Sep 17 00:00:00 2001 From: thatguy11325 <148832074+thatguy11325@users.noreply.github.com> Date: Sun, 20 Oct 2024 07:05:17 -0400 Subject: [PATCH] need cursor --- pokemonred_puffer/cleanrl_puffer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pokemonred_puffer/cleanrl_puffer.py b/pokemonred_puffer/cleanrl_puffer.py index b4ee817..fa9ed90 100644 --- a/pokemonred_puffer/cleanrl_puffer.py +++ b/pokemonred_puffer/cleanrl_puffer.py @@ -371,6 +371,7 @@ def evaluate(self): ) self.vecenv.async_reset() with sqlite3.connect(self.sqlite_db) as conn: + cur = conn.cursor() while True: resets = cur.executemany( """