Fix 'DbBsddbRead' object has no attribute '_Callback__callback_map'
Fixes #10219
Same idea as 87a5412
for Gramps50
This commit is contained in:
parent
c01ee8ed7d
commit
bedebc524b
@ -310,8 +310,7 @@ class Callback(object):
|
||||
for key in keymap:
|
||||
self.__callback_map[signal_name].remove(key)
|
||||
self.__callback_map[signal_name] = None
|
||||
self.__callback_map = None
|
||||
del self.__callback_map
|
||||
self.__callback_map = {}
|
||||
|
||||
def emit(self, signal_name, args=tuple()):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user