Skip to content

Commit

Permalink
Fix for v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Moosems committed Sep 8, 2024
1 parent 10d1c84 commit 366fc20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="token_tools",
version="0.1.2",
version="0.2.0",
description="Token Tools provides, well, tools for Token's!",
author="Moosems",
author_email="[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion token_tools/token_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def normal_text_range(
split_text: list[str] = full_text.splitlines()
split_len: int = len(split_text)

if text_range[1] > split_len or text_range[1] == -1:
if text_range[1] >= split_len or text_range[1] == -1:
# This indicates that the text range should span the length of the entire code or is too long
split_len = (
1 if split_len == 0 else split_len
Expand Down

0 comments on commit 366fc20

Please sign in to comment.