chore: early return in read only mode

This commit is contained in:
Ankush Menat 2023-07-04 10:34:23 +05:30
parent 00e5dabef1
commit 9c4c5d647f

View file

@ -76,6 +76,7 @@ def _make_access_log(
if frappe.flags.read_only:
access_log.deferred_insert()
return
else:
access_log.db_insert()