aboutsummaryrefslogtreecommitdiff
path: root/uploader/platforms/models.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-25 12:10:38 -0500
committerFrederick Muriuki Muriithi2024-09-25 12:11:58 -0500
commit0c8642d08f88d2dcf8e82a7b58c9922e01c20102 (patch)
tree580f74ec32cb331b638b87eac3efbad94be8b38a /uploader/platforms/models.py
parent4c9470646627a7b8d454d87984016cfa6c53059c (diff)
downloadgn-uploader-0c8642d08f88d2dcf8e82a7b58c9922e01c20102.tar.gz
Lint: Fix myriad of linting issues
Diffstat (limited to 'uploader/platforms/models.py')
-rw-r--r--uploader/platforms/models.py2
1 files changed, 1 insertions, 1 deletions
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)