cast to int
This commit is contained in:
parent
01be5e09f9
commit
8cd3fbc006
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue