From c5cd232d4c9f333694b8c85dcaf36fd8df1ef0e0 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Sat, 12 Oct 2013 10:29:19 -0400 Subject: [PATCH] enable jordan's hotfix --- sfa/importer/plimporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/importer/plimporter.py b/sfa/importer/plimporter.py index 26d1ccdc..41325a89 100644 --- a/sfa/importer/plimporter.py +++ b/sfa/importer/plimporter.py @@ -376,7 +376,7 @@ class PlImporter: # being improperly handled, and where the whole loop on persons # could be performed twice with the same person... # so hopefully we do not need to eliminate duplicates explicitly here anymore - site_record.reg_pis = site_pis + site_record.reg_pis = list(set(site_pis)) dbsession.commit() # import slices -- 2.43.0