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/views.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'uploader/platforms/views.py') diff --git a/uploader/platforms/views.py b/uploader/platforms/views.py index 2ff45b8..2d61b6a 100644 --- a/uploader/platforms/views.py +++ b/uploader/platforms/views.py @@ -16,8 +16,7 @@ from uploader.datautils import safe_int, order_by_family, enumerate_sequence from .models import (save_new_platform, platforms_by_species, - species_platforms_count, - platform_by_species_and_id) + species_platforms_count) platformsbp = Blueprint("platforms", __name__) render_template = make_template_renderer("platforms") @@ -88,7 +87,7 @@ def create_platform(species_id: int): try: form = request.form - new_platform = save_new_platform( + _new_platform = save_new_platform( cursor, species_id, form["geo-platform"], -- cgit v1.2.3