[EMAIL PROTECTED]
> getting an unsubscriptable object error on an if else statement
> db = MSSQL.connect(server,login,pwd,database)
> c = db.cursor()
> c.execute(mySQL)
> rows = c.fetchone()
> #determine recipient
> if str(rows[3]) == str(rows[4]):
>
getting an unsubscriptable
object error on an if else statement
db = MSSQL.connect(server,login,pwd,database)
c = db.cursor()
c.execute(mySQL)
rows = c.fetchone()
#determine recipient
if str(rows[3]) == str(rows[4]):
recipient
= str(rows[0]) + " " + str(rows[1])