Python Insert Variable Into Sql Query Formatter