Skip to content

Commit

Permalink
use better sqlite text factory
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Feb 6, 2024
1 parent ac53b32 commit 3ab53d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bbot/modules/gowitness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3ab53d0

Please sign in to comment.