|
From: Karsten H. <Kar...@gm...> - 2004-11-18 08:20:22
|
> here is my code i think is the problem
> cur.execute("INSERT INTO DailyTakings VALUES (%s,%s, %s,
> %s,%s,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f)",
Oh, I think pypgsql wants you to use %s everywhere regardless
of argument type.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
|