From 5f9e7ce46d9398daba5e3cc2e1763e38dc622e3a Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 26 Feb 2024 18:20:26 +0100 Subject: [PATCH] add in credentials values == 0 --- idhub/admin/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idhub/admin/forms.py b/idhub/admin/forms.py index dc6a1da..cefc18b 100644 --- a/idhub/admin/forms.py +++ b/idhub/admin/forms.py @@ -234,7 +234,7 @@ class ImportForm(forms.Form): for n in range(df.last_valid_index()+1): row = {} for k in data_pd.keys(): - if data_pd[k][n]: + if data_pd[k][n] or data_pd[k][n] == 0: row[k] = data_pd[k][n] user = self.validate_jsonld(n, row)