Skip to content

Commit

Permalink
fix: don't call save
Browse files Browse the repository at this point in the history
* otherwise generates the image twice
  • Loading branch information
NagariaHussain committed Dec 13, 2022
1 parent a7bb669 commit c22dc7b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ def generate_images_for_existing_documents(self):
doc = frappe.get_doc(self.for_doctype, name)
generator = ImageGenerator(doc)
generator.generate()
doc.save()

0 comments on commit c22dc7b

Please sign in to comment.