From 046cf17b9981fc1e75c35acf547cb143a52dc9d9 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 27 Jan 2025 11:54:01 -0600 Subject: Fix minor bug. --- uploader/phenotypes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index 79b1605..b53b296 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -243,7 +243,7 @@ def view_phenotype(# pylint: disable=[unused-argument] (phenotype_publication_data(conn, phenotype["Id"]) or {}).items() if (key in ("PubMed_ID", "Authors", "Title", "Journal") and val is not None - and val.strip() is not "") + and val.strip() != "") }, privileges=(privileges ### For demo! Do not commit this part -- cgit v1.2.3