Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove watermark PageObject declaration as it is already present inside for-loop #1384

Merged
merged 1 commit into from
Oct 8, 2022
Merged

Remove watermark PageObject declaration as it is already present inside for-loop #1384

merged 1 commit into from
Oct 8, 2022

Conversation

cs2sandeep
Copy link
Contributor

reader_stamp = PdfReader(stamp_pdf)
image_page = reader_stamp.pages[0]

PageObject of the watermark is declared inside the for loop. It is not needed outside the for-loop.

@MartinThoma MartinThoma merged commit 7faa9b3 into py-pdf:main Oct 8, 2022
@MartinThoma
Copy link
Member

You're absolutely right - thanks for fixing it!

@cs2sandeep cs2sandeep deleted the watermark_docs branch October 8, 2022 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants