Commit 00322c0c authored by Philipp Hörist's avatar Philipp Hörist

Fix codespell errors

parent 0bfc1edd
Pipeline #5665 passed with stages
in 2 minutes and 40 seconds
......@@ -532,10 +532,10 @@ class Client(ConnectionHandlers):
def cleanup(self):
self._destroyed = True
if self._client is not None:
# cleanup() is called befor nbmxpp.Client has disconnected,
# cleanup() is called before nbmxpp.Client has disconnected,
# when we disable the account. So we need to unregister
# handlers here.
# TODO: cleanup() should not be called befor disconnect is finished
# TODO: cleanup() should not be called before disconnect is finished
for handler in modules.get_handlers(self):
self._client.unregister_handler(handler)
modules.unregister_modules(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment