diff options
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r-- | wqflask/base/data_set.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index aac8585e..470aa28b 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -1218,8 +1218,8 @@ def geno_mrna_confidentiality(ob): with database_connection() as conn, conn.cursor() as cursor: cursor.execute( "SELECT confidentiality, " - "AuthorisedUsers FROM %s WHERE Name = %s", - (f"{ob.type}Freeze", ob.name,) + f"AuthorisedUsers FROM {ob.type}Freeze WHERE Name = %s", + (ob.name,) ) result = cursor.fetchall()[0] if result: |