print missing

This commit is contained in:
j 2011-11-03 11:33:07 +01:00
parent 51dbcadf11
commit 84bc58a4c7

View file

@ -41,6 +41,8 @@ def getIds():
m.save() m.save()
for poster in data['posters']: for poster in data['posters']:
addPoster(m, poster, 'impawards.com', m.imdb_id) addPoster(m, poster, 'impawards.com', m.imdb_id)
else:
print 'missing impawards', ox.web.impawards.getUrl(id)
for id in ox.web.criterion.getIds(): for id in ox.web.criterion.getIds():
if id in ('626', '835'): if id in ('626', '835'):