Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent KeyError in third party hook registries
Reloading the config can cause third party hook registries to raise a KeyError when firing hooks. This is because the `subscriptions` dict is cleared but the regitry key is only created when a hook is subscribed (as the hook module is not reloaded). Therefore, if a user does not subcribe to any hooks from the third party library, this will cause the hook to fail. Fixes: elParaguayo/qtile-extras#301
- Loading branch information