Skip to content

Commit

Permalink
fixed bug in preprocessing skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikatr7 committed Feb 12, 2024
1 parent 5fcdb5e commit 6875683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "kairyou"
version = "v1.0.0"
version = "v1.0.1"
authors = [
{ name="Bikatr7", email="Tetralon07@gmail.com" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/kairyou/kairyou.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def preprocess(text_to_preprocess:str, replacement_json:typing.Union[dict,str],

## If the replacement json is blank, skip the preprocessing.
if(replacement_json == blank_json):
return "Skipped", "Skipped", "Skipped"
return text_to_preprocess, "Skipped", "Skipped"

if(not persist):
Kairyou.reset_globals()
Expand Down

0 comments on commit 6875683

Please sign in to comment.