aboutsummaryrefslogtreecommitdiff
path: root/uploader/platforms/models.py
diff options
context:
space:
mode:
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)