cleanup
This commit is contained in:
parent
8508ead63e
commit
c4b347ee7e
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue