7533: Check for active person in session log gramplet

This commit is contained in:
Nick Hall 2015-01-21 23:03:23 +00:00
parent ec9dbcc045
commit 46b2f0a169

View File

@ -65,7 +65,8 @@ class LogGramplet(Gramplet):
lambda handles: self.log('Family', 'Edited', handles))
def active_changed(self, handle):
self.log('Person', 'Selected', [handle])
if handle:
self.log('Person', 'Selected', [handle])
def log(self, ltype, action, handles):
for handle in set(handles):