Sqlite format string

2009-08-29 Thread Sergio Charpinel Jr.
Hi, I have this statement cursor.execute("SELECT * from session_attribute WHERE sid=%s", ( user )) and I'm receiving this error : TypeError: not all arguments converted during string formatting What is wrong ? -- Sergio Roberto Charpinel Jr. -- http://mail.python.org/mailman/listinfo/python-lis

Re: Sqlite format string

2009-08-30 Thread Sergio Charpinel Jr.
Thank you very much. 2009/8/30 Cameron Simpson > On 29Aug2009 17:27, Sergio Charpinel Jr. > wrote: > | Hi, > | I have this statement cursor.execute("SELECT * from session_attribute > WHERE > | sid=%s", ( user )) > | and I'm receiving this error : > | >