pass key
This commit is contained in:
parent
348b77aa85
commit
8508ead63e
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ class Info(object):
|
|||
def __init__(self):
|
||||
self._registry = {}
|
||||
|
||||
def __call__(self, movie_id):
|
||||
def __call__(self, movie_id, key):
|
||||
for name in self._registry:
|
||||
return self._registry[name](movie_id)
|
||||
return self._registry[name](movie_id, key)
|
||||
return 0
|
||||
|
||||
def register(self, name, get_likes):
|
||||
|
|
Loading…
Reference in a new issue