From e444c1a216c0fad0a5b703fde523fb15f0c96384 Mon Sep 17 00:00:00 2001 From: Amir Mohammadi <183.amir@gmail.com> Date: Sat, 14 Jan 2017 14:25:01 +0100 Subject: [PATCH] bob.db.base.File does not accept client_id --- bob/db/cuhk_cufs/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bob/db/cuhk_cufs/models.py b/bob/db/cuhk_cufs/models.py index ead8ba9..f37a56b 100644 --- a/bob/db/cuhk_cufs/models.py +++ b/bob/db/cuhk_cufs/models.py @@ -155,7 +155,8 @@ class File(Base, bob.db.base.File): def __init__(self, id, image_name, client_id, modality): # call base class constructor - bob.db.base.File.__init__(self, file_id = id, client_id = client_id, path = image_name) + bob.db.base.File.__init__(self, file_id = id, path = image_name) + self.client_id = client_id self.modality = modality def annotations(self, annotation_type="eyes_center"): -- GitLab