entropy.core.SystemSettings: new method "disconnect_entropy", removes
the Entropy instance from database
This commit is contained in:
@@ -152,6 +152,14 @@ class SystemSettings(Singleton):
|
||||
self.Entropy = entropy_instance
|
||||
self.__scan() # do this again to re-fill settings
|
||||
|
||||
def disconnect_entropy(self):
|
||||
"""
|
||||
Remove an Entropy (client/server) instance to
|
||||
this Singleton.
|
||||
"""
|
||||
self.Entropy = None
|
||||
self.__scan()
|
||||
|
||||
def __setup_const(self):
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user