diff --git a/mustergenerator.py b/mustergenerator.py index 2631b80..0f4b954 100644 --- a/mustergenerator.py +++ b/mustergenerator.py @@ -8,7 +8,7 @@ class Circle: assert length >= 0, "length can not be negative" assert height >= 0, "height can not be negative" assert radius >= 0, "radius can not be negative" - assert distance >= 2*radius, "distance must be grater den two times the radius" + assert distance >= 2*radius, "distance must be grater then two times the radius" assert offset >= 0, "offset can only be 0 - 100 %" assert offset <= 100, "offset can only be 0 - 100 %" @@ -53,7 +53,7 @@ class Circle: @distance.setter def distance(self, val): - assert distance >= 2 * radius, "distance must be grater den two times the radius" + assert distance >= 2 * radius, "distance must be grater then two times the radius" self.__distance = val @property