From e6339bea5f22a6b331979f15a78d94c2c61c285a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 12 Jan 2022 11:19:33 +0300 Subject: Indent code correctly Indent the code correctly. --- gn3/db/traits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/db') diff --git a/gn3/db/traits.py b/gn3/db/traits.py index 9554be2..5985c3f 100644 --- a/gn3/db/traits.py +++ b/gn3/db/traits.py @@ -199,7 +199,7 @@ def delete_sample_data(conn: Any, # Only run if the strain_id and data_id exist if strain_id and data_id: cursor.execute(("DELETE FROM PublishData " - "WHERE StrainId = %s AND Id = %s") + "WHERE StrainId = %s AND Id = %s") % (strain_id, data_id)) deleted_published_data = cursor.rowcount -- cgit v1.2.3