SQL error testing
This commit is contained in:
parent
2d10d1c030
commit
9c67a99df9
@ -70,10 +70,11 @@ class DataBaseConnector:
|
|||||||
self.connect_first()
|
self.connect_first()
|
||||||
return models.List
|
return models.List
|
||||||
|
|
||||||
|
|
||||||
def connect_first(self):
|
def connect_first(self):
|
||||||
if self.db_object.is_closed():
|
# if self.db_object.is_closed():
|
||||||
self.db_object.connect()
|
# self.db_object.connect()
|
||||||
|
self.db_object.connect(reuse_if_open=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user