From 9c69c3523e187fc7766894ca703e60392a1cc8f6 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Fri, 4 Jan 2013 15:40:26 +0000 Subject: [PATCH] Fix of divison issue. There might be more of them. svn: r20976 --- gramps/plugins/lib/libtreebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/libtreebase.py b/gramps/plugins/lib/libtreebase.py index 8eaac4bd8..9d1aa8647 100644 --- a/gramps/plugins/lib/libtreebase.py +++ b/gramps/plugins/lib/libtreebase.py @@ -403,7 +403,7 @@ class Canvas(Page): #Calculate my (x) page #fix soon. should not use .level - x_page = box.level[0] / colsperpage + x_page = box.level[0] // colsperpage self.__add_box_to_page(x_page, self.y_pages-1, x_page_offsets[x_page],