From 51c58e6ef280814ab7efe0363841d3279fd11ee8 Mon Sep 17 00:00:00 2001 From: Andrew Brain Date: Mon, 22 Jan 2024 19:58:58 -0600 Subject: [PATCH] Fix other issues suggested by linter Signed-off-by: Andrew Brain --- augur/application/db/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/application/db/session.py b/augur/application/db/session.py index 5d11b3b11c..22379ad050 100644 --- a/augur/application/db/session.py +++ b/augur/application/db/session.py @@ -194,7 +194,7 @@ def insert_data(self, data: Union[List[dict], dict], table, natural_keys: List[s except Exception as e: #self.logger.info(e) - if(len(data) == 1): + if len(data) == 1: raise e time.sleep(3)