Commit 40a902a

Repositorybojemoi
Branchmain
AuthorBetty
Hash40a902a51ca49e676375e569f2b2f2b254af9d7f

Description

scan_data from API can return “True”/“False” strings (old Valkey cache entries) which psycopg2 converts to Python bool → PostgreSQL rejects as wrong type. int(value or 0) handles all edge cases: bool strings, None, empty string.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

Mborodino/thearm_nuclei

Diff Summary

b1orfoidlienoc/htahnegaerdm,_n1ucilnesier|ti2on(+),1deletion(-)