7533: Check for active person in session log gramplet

This commit is contained in:
Nick Hall 2015-01-21 23:04:43 +00:00
parent bbe5e0ec84
commit 31a222a754

View File

@ -66,7 +66,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):