src/reportlab/graphics/widgetbase.py
branchpy33
changeset 3975 4a3599863c11
parent 3794 398ea04239b5
child 4252 fe660f227cac
--- a/src/reportlab/graphics/widgetbase.py	Thu Jan 09 12:54:10 2014 +0000
+++ b/src/reportlab/graphics/widgetbase.py	Thu Jan 09 13:53:18 2014 +0000
@@ -504,7 +504,7 @@
     d = shapes.Drawing(400, 200)
     tc = TwoCircles()
     d.add(tc)
-    from . import renderPDF
+    from reportlab.graphics import renderPDF
     renderPDF.drawToFile(d, 'sample_widget.pdf', 'A Sample Widget')
     print('saved sample_widget.pdf')