diff --git a/oxdata/lookup/modules.py b/oxdata/lookup/modules.py index c360b32..0c935e5 100644 --- a/oxdata/lookup/modules.py +++ b/oxdata/lookup/modules.py @@ -23,9 +23,9 @@ class Info(object): return self._registry[name](movie_id, key) return 0 - def register(self, name, get_likes): + def register(self, name, get_info): if name not in self._registry: - self._registry[name] = get_likes + self._registry[name] = get_info get_info = Info()