Prevent descendant classes of MYSQL_RED from deleting connection to db
This commit is contained in:
@@ -44,6 +44,8 @@ class MYSQL_RED_PAGE( MYSQL_RED ):
|
|||||||
|
|
||||||
self.data = self.get_page()
|
self.data = self.get_page()
|
||||||
|
|
||||||
|
def __del__( self ):
|
||||||
|
pass
|
||||||
|
|
||||||
def get_page( self ):
|
def get_page( self ):
|
||||||
"""
|
"""
|
||||||
@@ -119,4 +121,6 @@ class MYSQL_RED_FAM( MYSQL_RED ):
|
|||||||
Creates a new instance, runs __init__ of parent class
|
Creates a new instance, runs __init__ of parent class
|
||||||
"""
|
"""
|
||||||
super().__init__( )
|
super().__init__( )
|
||||||
|
|
||||||
|
def __del__( self ):
|
||||||
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user