diff --git a/fileformats/core/hook.py b/fileformats/core/hook.py index 1bf529a..633f366 100644 --- a/fileformats/core/hook.py +++ b/fileformats/core/hook.py @@ -213,4 +213,4 @@ def type_match(a, b) -> bool: f"decorated method {method} and the registered override {function}:\n" + "\n".join(differences) ) - self.dispatch.register(function) + return self.dispatch.register(function)