From 0c8642d08f88d2dcf8e82a7b58c9922e01c20102 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 25 Sep 2024 12:10:38 -0500 Subject: Lint: Fix myriad of linting issues --- uploader/platforms/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uploader/platforms/models.py') diff --git a/uploader/platforms/models.py b/uploader/platforms/models.py index 199f2df..a859371 100644 --- a/uploader/platforms/models.py +++ b/uploader/platforms/models.py @@ -49,7 +49,7 @@ def platform_by_species_and_id( with conn.cursor(cursorclass=DictCursor) as cursor: cursor.execute("SELECT * FROM GeneChip WHERE SpeciesId=%s AND Id=%s", (species_id, platformid)) - result = cursor.fetchone() + result = cursor.fetchone()#pylint: disable=[duplicate-code] if bool(result): return dict(result) -- cgit v1.2.3