UnboundLocalError: local variable 'rows' referenced before assignment
- by patrick
i'm trying to make a database connection by an other script.
But the script didn't work propperly.
and if I do a 'print' on the rows then I get the value 'null'
But if I use a 'select * from incidents' query then i get the result from the table incidents.
import database
rows = database.database("INSERT INTO incidents VALUES(3 ,'test_title1',…