Skip to content

Commit

Permalink
NiFi: typo anon doc script fix II.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Dec 6, 2023
1 parent e26944c commit b2bc3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nifi/user-scripts/anonymise_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def special_deid(cat, text, record):
if len(text_field) > char_limit:
sections = int(len(text_field) / char_limit)

for i in range(sections):
for i in range(0, sections):
_tmp_text = text_field[i * char_limit:(i + 1) * char_limit]
_anon_text += deid_text(cat, _tmp_text)
else:
Expand Down

0 comments on commit b2bc3e2

Please sign in to comment.