add wsgi foobar
This commit is contained in:
parent
c267b258be
commit
34e5a4a039
5 changed files with 155 additions and 11 deletions
|
|
@ -96,6 +96,7 @@ def getPosterUrls(m):
|
|||
if PosterCache.objects.all().filter(url=poster).count() == 0:
|
||||
addPoster(poster, 'movieposterdb.com', m.imdb_id)
|
||||
if m.criterion_id:
|
||||
print 'criterion', m.criterion_id
|
||||
for poster in oxweb.criterion.getData(m.criterion_id)['posters']:
|
||||
if PosterCache.objects.all().filter(url=poster).count() == 0:
|
||||
addPoster(poster, 'criterion.com', m.criterion_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue