diff --git a/klamath/__init__.py b/klamath/__init__.py index 8de1f87..5a315b4 100644 --- a/klamath/__init__.py +++ b/klamath/__init__.py @@ -36,5 +36,5 @@ from . import ( ) __author__ = 'Jan Petykiewicz' -__version__ = '1.4' +__version__ = '1.5' diff --git a/klamath/elements.py b/klamath/elements.py index 8c77162..ba72d47 100644 --- a/klamath/elements.py +++ b/klamath/elements.py @@ -316,7 +316,7 @@ class Path(Element): if self.width != 0: b += WIDTH.write(stream, self.width) - if self.path_type < 4: + if self.path_type == 4: bgn_ext, end_ext = self.extension if bgn_ext != 0: b += BGNEXTN.write(stream, bgn_ext)