cast to int

This commit is contained in:
j 2020-07-13 10:35:41 +02:00
parent 01be5e09f9
commit 8cd3fbc006

View file

@ -42,7 +42,8 @@ def get_ids():
print('missing impawards', ox.web.impawards.get_url(id)) print('missing impawards', ox.web.impawards.get_url(id))
for id in ox.web.criterion.get_ids(): for id in ox.web.criterion.get_ids():
if id in ('626', '835', '1079', '28907'): id = int(id)
if id in (626, 835, 1079, 28907, 30616):
continue continue
if models.MovieId.objects.all().filter(criterion_id=id).count() == 0: if models.MovieId.objects.all().filter(criterion_id=id).count() == 0:
print('criterion', id) print('criterion', id)