From 60e0a9a5f063571890f3958536ea1bf856f0d61f Mon Sep 17 00:00:00 2001 From: g-battaglia Date: Sat, 17 Aug 2024 21:36:33 +0200 Subject: [PATCH] V4.14.11 Bugfix --- kerykeion/charts/kerykeion_chart_svg.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kerykeion/charts/kerykeion_chart_svg.py b/kerykeion/charts/kerykeion_chart_svg.py index 111fc06..ac83eb0 100755 --- a/kerykeion/charts/kerykeion_chart_svg.py +++ b/kerykeion/charts/kerykeion_chart_svg.py @@ -569,7 +569,7 @@ def makeTemplate(self, minify: bool = False) -> str: def makeSVG(self, minify: bool = False): """Prints out the SVG file in the specifide folder""" - if not (self.template): + if not hasattr(self, "template"): self.template = self.makeTemplate(minify) self.chartname = self.output_directory / f"{self.user.name} - {self.chart_type} Chart.svg" diff --git a/pyproject.toml b/pyproject.toml index f3a758c..8d5a447 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kerykeion" -version = "4.14.10" +version = "4.14.11" authors = ["Giacomo Battaglia "] description = "A python library for astrology." license = "AGPL-3.0"