Open PKCRY opened 4 years ago
https://github.com/jczimmerman/tsct-portal/blob/237fe47b2d7cb0a12394884ecb7c5f4a0e5c1a9c/portal/main.py#L55
you can open and close both cursor at the same time. Just a suggestion
cur = db.get_db().cursor()
if it was done on purpose let me know seems just very redundant
We originally had it as the one you showed, but we ran into some issues and changed it to the one it is now to make it easier to work with
https://github.com/jczimmerman/tsct-portal/blob/237fe47b2d7cb0a12394884ecb7c5f4a0e5c1a9c/portal/main.py#L55
you can open and close both cursor at the same time. Just a suggestion
cur = db.get_db().cursor()