1. Dinu Gherman
  2. pdfgrid
  3. Issues
Issue #2 resolved

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

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