Changeset - 7264fcee6f30
[Not reviewed]
default
0 1 0
Dennis Fink - 8 years ago 2017-02-13 16:32:53
dennis.fink@c3l.lu
Fix clear_user_present
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spaceapi/utils.py
Show inline comments
 
@@ -130,7 +130,7 @@ class ActiveStatus(Singleton, dict):
 
            pass
 

	
 
    def clear_user_present(self):
 
        self['sensors']['people_now_presents'][0]['value'] = 0
 
        self['sensors']['people_now_present'][0]['value'] = 0
 
        if 'names' in self['sensors']['people_now_present'][0]:
 
            del self['sensors']['people_now_present'][0]['names']
 

	
0 comments (0 inline, 0 general)