From: <vze...@ve...> - 2002-11-21 16:31:09
|
> The problem is that you are testing the PgResultSet object, not the PgBoolean. The PgResultSet will always test true unless it's empty. > > Try doing the following: > > if retval[0]: > print "Yes" > else: > print "No" > That was the problem. Thanks for your help guys. |