debug
parent
8e72effba9
commit
f635c5c538
|
@ -144,12 +144,13 @@ class Movies(Core):
|
||||||
return self.movies["total_results"]
|
return self.movies["total_results"]
|
||||||
|
|
||||||
def iter_results(self):
|
def iter_results(self):
|
||||||
if 'results' in self.movies.keys():
|
# if 'results' in self.movies.keys():
|
||||||
res = self.movies["results"]
|
# res = self.movies["results"]
|
||||||
else:
|
# else:
|
||||||
log('self.movies: %s' % (repr(self.movies)))
|
# log('self.movies: %s' % (repr(self.movies)))
|
||||||
res = []
|
# res = []
|
||||||
for i in res:
|
log('self.movies: %s' % (repr(self.movies)))
|
||||||
|
for i in self.movies["results"]:
|
||||||
yield i
|
yield i
|
||||||
|
|
||||||
def get_ordered_matches(self):
|
def get_ordered_matches(self):
|
||||||
|
|
Loading…
Reference in New Issue