cast to int

This commit is contained in:
j 2020-07-13 10:35:41 +02:00
parent 01be5e09f9
commit 8cd3fbc006
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ def get_ids():
print('missing impawards', ox.web.impawards.get_url(id))
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
if models.MovieId.objects.all().filter(criterion_id=id).count() == 0:
print('criterion', id)