Fix redundancy
This commit is contained in:
parent
1143623d35
commit
3bedd451e3
@ -156,8 +156,7 @@ class ActivitiesDonut(hippo.CanvasBox, hippo.CanvasItem):
|
||||
return
|
||||
icon = self._activities[act_id]
|
||||
self.remove(icon)
|
||||
act = self._activities[act_id]
|
||||
act.cleanup()
|
||||
icon.cleanup()
|
||||
del self._activities[act_id]
|
||||
|
||||
def _add_activity(self, activity):
|
||||
|
Loading…
Reference in New Issue
Block a user