ms access returns -1 for True

This commit is contained in:
Miroslav Stampar 2010-03-30 11:33:51 +00:00
parent ae3455a0c2
commit bfc12e93c5

View File

@ -294,7 +294,7 @@ class Connect:
return values, None return values, None
else: else:
for value in values: for value in values:
if value[0] == 1: if value[0] in (1, -1):
return True return True
else: else:
return False return False