workers.securityworker: revert to image querying
This commit is contained in:
parent
432b2d3fe8
commit
a780136337
2 changed files with 15 additions and 10 deletions
|
@ -490,7 +490,7 @@ def total_image_count():
|
|||
return Image.select().count()
|
||||
|
||||
|
||||
def get_image_id():
|
||||
def get_image_pk_field():
|
||||
""" Returns the primary key for Image DB model """
|
||||
return Image.id
|
||||
|
||||
|
|
Reference in a new issue