From 67fde8b2fb4f6197fe2aa57f907a615ee1115986 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 16 Oct 2009 21:13:56 +0000 Subject: [PATCH] existing_record should be existing_records --- sfa/plc/sfaImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/plc/sfaImport.py b/sfa/plc/sfaImport.py index a2ae5e04..13d75e61 100644 --- a/sfa/plc/sfaImport.py +++ b/sfa/plc/sfaImport.py @@ -232,7 +232,7 @@ class sfaImport: table.insert(auth_record) else: trace("Import: %s exists, updating " % hrn) - existing_record = existing_record[0] + existing_record = existing_records[0] auth_record['record_id'] = existing_record['record_id'] table.update(auth_record) -- 2.47.0