pyztk/zk/finger.py
Arturo Hernandez d123ddbd63 test, read fingerprint data
works! but needs more test, we need to test write and pass to another device
2018-03-20 19:59:04 -04:00

15 lines
455 B
Python

# -*- coding: utf-8 -*-
class Finger(object):
def __init__(self, size, uid, fid, valid, template):
self.size = size
self.uid = uid
self.fid = fid
self.valid = valid
self.template = template
def __str__(self):
return "<Finger> [u:%i, fid:%i, size:%i ]" % (self.uid, self.fid, self.size)
def __repr__(self):
return "<Finger> [u:%i, fid:%i, size:%i ]" % (self.uid, self.fid, self.size)