From 8be09bc3e3e883e89d5f9c98a2b24baddf93d4c1 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 2 Mar 2004 03:09:49 +0000 Subject: [PATCH] Oops svn: r2948 --- gramps2/src/docgen/LPRDoc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps2/src/docgen/LPRDoc.py b/gramps2/src/docgen/LPRDoc.py index f4fc0d1cc..93d726fcb 100644 --- a/gramps2/src/docgen/LPRDoc.py +++ b/gramps2/src/docgen/LPRDoc.py @@ -541,7 +541,9 @@ class LPRDoc(BaseDoc.BaseDoc): #find total width that the table needs to be. #later this value may be used to cut the longest columns down #so that data fits on the width of the page - __min_table_width = sum(__min_col_size) + __min_table_width = 0 + for __size in __min_col_size: + __min_table_width = __min_table_width + __size #is table width larger than the width of the paper? if __min_table_width > (self.__right_margin - self.__left_margin):