Skip to content

Commit a90f54a

Browse files
authored
Merge pull request #6256 from LMFDB/main
main -> dev
2 parents c5f17a2 + 473045a commit a90f54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lmfdb/knowledge/knowl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def is_locked(self, knowlid, delta_min=10):
738738
tdelta = timedelta(minutes=delta_min)
739739
time = now - tdelta
740740
selecter = SQL("SELECT username, timestamp FROM kwl_locks WHERE id = %s AND timestamp >= %s LIMIT 1")
741-
L = self._execute(selecter, (knowlid, time))
741+
L = self._safe_execute(selecter, (knowlid, time))
742742
if L:
743743
return dict(zip(["username", "timestamp"], L[0]))
744744

0 commit comments

Comments
 (0)