chore: early return in read only mode
This commit is contained in:
parent
00e5dabef1
commit
9c4c5d647f
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ def _make_access_log(
|
|||
|
||||
if frappe.flags.read_only:
|
||||
access_log.deferred_insert()
|
||||
return
|
||||
else:
|
||||
access_log.db_insert()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue