diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index ede9a6585..d699aff6d 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -511,7 +511,7 @@ class Account(object): deltachat.clear_context_callback(self._dc_context) del self._dc_context atexit.unregister(self.shutdown) - self.pluggy.unregister(self) + self.pluggy.unregister(self._evlogger) def set_location(self, latitude=0.0, longitude=0.0, accuracy=0.0): """set a new location. It effects all chats where we currently