workers.securityworker: revert to image querying

This commit is contained in:
Jimmy Zelinskie 2017-03-10 15:51:44 -05:00
parent 432b2d3fe8
commit a780136337
2 changed files with 15 additions and 10 deletions

View file

@ -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