This commit is contained in:
j 2012-09-27 16:08:12 +02:00
parent 8508ead63e
commit c4b347ee7e

View file

@ -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()