From 87a54de2a386dca42048d7c26608c5dc7137e51d Mon Sep 17 00:00:00 2001 From: alphanoob1337 Date: Wed, 12 Jul 2017 19:04:31 +0200 Subject: [PATCH] Another try... --- build/lib/svgpathtools/path.py | 8 +------- svgpathtools/path.py | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/build/lib/svgpathtools/path.py b/build/lib/svgpathtools/path.py index 7afd58e..ec23b71 100644 --- a/build/lib/svgpathtools/path.py +++ b/build/lib/svgpathtools/path.py @@ -2136,13 +2136,7 @@ class Path(MutableSequence): def cropped(self, T0, T1): """returns a cropped copy of the path.""" - assert 0 <= T0 <= 1 and 0 <= T1<= 1 assert T0 != T1 - assert not (T0 == 1 and T1 == 0) - - if T0 == 1 and 0 < T1 < 1 and self.isclosed(): - return self.cropped(0, T1) - if T1 == 1: seg1 = self[-1] t_seg1 = 1 @@ -2177,7 +2171,7 @@ class Path(MutableSequence): # T1