mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-12-22 18:55:32 +00:00
Range.min is always skipped (#23)
This commit is contained in:
parent
6162cd3f98
commit
8ef5bd9889
|
@ -71,7 +71,7 @@ class HonParameterRange(HonParameter):
|
||||||
def values(self) -> List[str]:
|
def values(self) -> List[str]:
|
||||||
result = []
|
result = []
|
||||||
i = self.min
|
i = self.min
|
||||||
while i < self.max:
|
while i <= self.max:
|
||||||
i += self.step
|
|
||||||
result.append(str(i))
|
result.append(str(i))
|
||||||
|
i += self.step
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Reference in a new issue