Skip to content

Commit

Permalink
Check cursor closed attribute correctly. #1466
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeit-internet2 committed Aug 30, 2024
1 parent 099f451 commit 75bee04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def cursor(self):

# Make sure we have a cursor.

if self.ccursor is None or self.ccursor.closed():
if self.ccursor is None or self.ccursor.closed:
self.ccursor = self.db.cursor()

return self.ccursor
Expand Down

0 comments on commit 75bee04

Please sign in to comment.