Fix import error in pdfgrid.py for newer versions of pyPdf.

Issue #2 resolved
Dinu Gherman
repo owner created an issue

This causes an import error for more recent versions of pyPdf where it doesn't implement ImmutableSet anymore:

from pyPdf.pdf import PageObject, ImmutableSet, ContentStream

This should be fine:

from pyPdf.pdf import PageObject, ContentStream
from sets import ImmutableSet

Comments (2)

  1. Log in to comment