Skip to content

Commit 6ddecf4

Browse files
committed
🐛 Corrects xrange to range which fixes #4
Thanks be to @atrezonator for reporting this bug
1 parent 9ab2117 commit 6ddecf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inject_javascript/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def return_pdf_data(self, pdf_path = None):
5555
source_pdf_data = PdfFileReader(fb)
5656

5757
## Load source PDF into output object
58-
for i in xrange(source_pdf_data.getNumPages()):
58+
for i in range(source_pdf_data.getNumPages()):
5959
writable_pdf_data.addPage(source_pdf_data.getPage(i))
6060

6161
if self.verbose > 0:

0 commit comments

Comments
 (0)