Fix in mysql
This commit is contained in:
parent
e468fba853
commit
1d03a6b772
1 changed files with 3 additions and 1 deletions
|
|
@ -40,8 +40,10 @@ class SqlClass:
|
||||||
|
|
||||||
self.conn.ping(True)
|
self.conn.ping(True)
|
||||||
|
|
||||||
|
"""
|
||||||
while not self.conn.open:
|
while not self.conn.open:
|
||||||
self.conn=SqlClass.mypool.connect()
|
self.conn=SqlClass.mypool.connect()
|
||||||
|
"""
|
||||||
|
|
||||||
self.connected=True
|
self.connected=True
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue