tkp.db.quality
– Routines handling the ‘rejectreason’ table.¶
check image quality
-
class
tkp.db.quality.
RejectReason
(id, desc)¶ Create new instance of RejectReason(id, desc)
-
desc
¶ Alias for field number 1
-
id
¶ Alias for field number 0
-
-
tkp.db.quality.
isrejected
(imageid)[source]¶ Find out if an image is rejected or not :param imageid: The image ID of the image to reject :returns: False if not rejected, a list of reason id’s if rejected