src/reportlab/platypus/doctemplate.py
changeset 3048 3ff2383916b9
parent 3040 cb548ffb442d
child 3083 95f7752b0284
--- a/src/reportlab/platypus/doctemplate.py	Mon Jan 12 15:29:14 2009 +0000
+++ b/src/reportlab/platypus/doctemplate.py	Tue Jan 13 11:01:49 2009 +0000
@@ -718,7 +718,7 @@
                                 invariant=self.invariant,
                                 pageCompression=self.pageCompression)
  
-        getattr(self.canv,'setencrypt',lambda x: None)(self.encrypt)
+        getattr(self.canv,'setEncrypt',lambda x: None)(self.encrypt)
 
         self.canv.setAuthor(self.author)
         self.canv.setTitle(self.title)