Merge pull request #34119 from akhilnarang/fix-pdf-check
fix: don't call `file.check_content()` twice
This commit is contained in:
commit
a19f0d69dc
1 changed files with 0 additions and 1 deletions
|
|
@ -141,7 +141,6 @@ class File(Document):
|
|||
self.validate_file_url()
|
||||
self.validate_file_on_disk()
|
||||
self.file_size = frappe.form_dict.file_size or self.file_size
|
||||
self.check_content()
|
||||
|
||||
def validate_attachment_references(self):
|
||||
if not self.attached_to_doctype:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue