diff --git a/PiAnoS/NISTExtend.py b/PiAnoS/NISTExtend.py index 953164f53f81ed4c3f3c92793cc066771a2166ec..36264db5a6908ef04eab8904f71a863cb63bef44 100644 --- a/PiAnoS/NISTExtend.py +++ b/PiAnoS/NISTExtend.py @@ -21,7 +21,6 @@ defDict = lambda: defaultdict( defDict ) try: from NIST.fingerprint import NISTf - from NIST.fingerprint.functions import lstTo012 except: raise Exception( "Can not import the NIST module. Check the installation." ) @@ -156,13 +155,12 @@ else: except KeyError: continue - n.add_Type09( lstTo012( ret ), idc ) - n.add_Type13( ( width, height ), res, idc ) n.set_latent( img, res, idc ) - n.set_field( "13.925", f[ 'username' ], idc ) + n.add_Type09( ret, idc ) + toReturn = True idc += 1 @@ -200,7 +198,7 @@ else: except KeyError: continue - n.add_Type09( lstTo012( ret ), 1 ) + n.add_Type09( ret, 1 ) return n