fix(nodes): fix RangeOfSizeInvocation off-by-one error

This commit is contained in:
psychedelicious 2023-05-24 15:05:46 +10:00 committed by Kent Keirsey
parent b25c1af018
commit dd16f788ed

View File

@ -57,7 +57,7 @@ class RangeOfSizeInvocation(BaseInvocation):
def invoke(self, context: InvocationContext) -> IntCollectionOutput:
return IntCollectionOutput(
collection=list(range(self.start, self.start + self.size + 1, self.step))
collection=list(range(self.start, self.start + self.size, self.step))
)