From d093843f28ae72059da4dbbf47376a68055cbfe6 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 15 Sep 2020 14:58:05 -0700 Subject: [PATCH] Use sql_execute instead of sql.execute. --- etiquette/photodb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index 0186e81..b93b9af 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -1013,7 +1013,7 @@ class PDBSQLMixin: else: self.log.log(5, 'Savepoint %s.', savepoint_id) query = f'SAVEPOINT "{savepoint_id}"' - self.sql.execute(query) + self.sql_execute(query) self.savepoints.append(savepoint_id) self.on_commit_queue.append(savepoint_id) self.on_rollback_queue.append(savepoint_id)