Skip to content

Commit

Permalink
Merge pull request #13 from KPMP/develop
Browse files Browse the repository at this point in the history
Release v1.3
  • Loading branch information
rlreamy authored Mar 28, 2024
2 parents 0857110 + 8775bb3 commit 50f5ee1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def __init__(self):

def get_db_cursor(self, connect_try=0):
try:
if (self.database.is_connected() == False):
self.get_db_connection();
self.cursor = self.database.cursor(buffered=False, dictionary=True)
return self.cursor
except Exception as error:
Expand Down

0 comments on commit 50f5ee1

Please sign in to comment.