From d610eb0cbed2fb529b3d87453a71c94ebcce12c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Fri, 16 Jan 2004 09:56:53 +0000 Subject: [PATCH] omitends correction git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@1229 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/connector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyx/connector.py b/pyx/connector.py index 18601873..c95b4a7e 100644 --- a/pyx/connector.py +++ b/pyx/connector.py @@ -26,11 +26,11 @@ class _connector(path.normpath): """intersect a path with the boxes' paths""" sp = self.intersect(box1.path())[0] - try: self.path = self.split(sp[-1:])[1].path + try: self.path = self.split(sp[:1])[1].path except: pass sp = self.intersect(box2.path())[0] - try: self.path = self.split(sp[:0])[0].path + try: self.path = self.split(sp[-1:])[0].path except: pass def shortenpath(self, dists): -- 2.11.4.GIT