From d630700921cb53c634668c9d76970aca6c58c3dd Mon Sep 17 00:00:00 2001 From: Andreas Bauer Date: Wed, 3 Jul 2024 13:18:44 +0200 Subject: [PATCH] Fix linter error [E721] --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 3e2f1fa..6824f35 100644 --- a/main.py +++ b/main.py @@ -117,7 +117,7 @@ def create_box(row, fieldnames: list[str], reviewer_ids: list[str]) -> str: multiselect=True, min_selection_count=MIN_FIELDS, ) - selected_fields: list[str] = [s[0] for s in selected if type(s) == tuple] + selected_fields: list[str] = [s[0] for s in selected if type(s) is tuple] cmd = custom_tex_command(selected_fields)