Explicitly close db connection from portal, address #1183.
This commit is contained in:
parent
92df3ce5ae
commit
21d3dcb044
2 changed files with 10 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class ClosedLidState(DefaultScript):
|
|||
|
||||
def at_script_creation(self):
|
||||
"Called when script first created."
|
||||
self.key = "closed_lid_script"
|
||||
self.desc = "Script that manages the closed-state cmdsets for red button."
|
||||
self.persistent = True
|
||||
|
||||
|
|
@ -72,6 +73,7 @@ class OpenLidState(DefaultScript):
|
|||
|
||||
def at_script_creation(self):
|
||||
"Called when script first created."
|
||||
self.key = "open_lid_script"
|
||||
self.desc = "Script that manages the opened-state cmdsets for red button."
|
||||
self.persistent = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue