From 23412b661b1b219ba37e0cc291598cbbd932cfd6 Mon Sep 17 00:00:00 2001 From: dogmcdog <53409970+dogmcdog@users.noreply.github.com> Date: Sun, 21 Jun 2020 23:31:33 +0000 Subject: [PATCH] Fix DictionaryObject.__init__() (#67) --- pypdf/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypdf/generic.py b/pypdf/generic.py index 5e5555da3..3f269b545 100644 --- a/pypdf/generic.py +++ b/pypdf/generic.py @@ -734,7 +734,7 @@ def readFromStream(stream, pdf): class TreeObject(DictionaryObject): def __init__(self): - DictionaryObject.__init__() + DictionaryObject.__init__(self) def hasChildren(self): return '/First' in self