From 3ab53d058d0055f0c59b1fe31c06189bd636d0ae Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Tue, 6 Feb 2024 16:15:14 -0500 Subject: [PATCH] use better sqlite text factory --- bbot/modules/gowitness.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bbot/modules/gowitness.py b/bbot/modules/gowitness.py index a335bf021..c49b4d3ae 100644 --- a/bbot/modules/gowitness.py +++ b/bbot/modules/gowitness.py @@ -200,6 +200,7 @@ def new_screenshots(self): if self.db_path.is_file(): with sqlite3.connect(str(self.db_path)) as con: con.row_factory = sqlite3.Row + con.text_factory = self.helpers.smart_decode cur = con.cursor() res = self.cur_execute(cur, "SELECT * FROM urls") for row in res: