Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
Co-authored-by: Sagar Vora <sagar@resilient.tech>
  • Loading branch information
ankush and sagarvora committed Dec 8, 2023
1 parent 95a9ab7 commit 8082cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/core/doctype/server_script/server_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def execute_scheduled_method(self):
if self.script_type != "Scheduler Event":
raise frappe.DoesNotExistError

safe_exec(self.script, filename=self.name)
safe_exec(self.script, script_filename=self.name)

def get_permission_query_conditions(self, user: str) -> list[str]:
"""Specific to Permission Query Server Scripts
Expand Down

0 comments on commit 8082cdd

Please sign in to comment.