Skip to content

Commit 18a8276

Browse files
author
rootware
committed
changed to meaningful name
1 parent fee19cd commit 18a8276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyredactkit/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def arg_helper() -> argparse.Namespace:
9999
return args
100100

101101

102-
def is_it_text(file_path: str) -> bool:
102+
def is_it_file(file_path: str) -> bool:
103103
return os.path.isfile(file_path) or os.path.isdir(file_path)
104104

105105

@@ -119,7 +119,7 @@ def recursive_file_search(full_path: str, extension: str, recursive: bool) -> se
119119
def execute_redact_logic() -> None:
120120
args = arg_helper()
121121

122-
is_text = is_it_text(args.text[0])
122+
is_text = is_it_file(args.text[0])
123123
if not is_text:
124124
core_redact.process_text(args.text)
125125

0 commit comments

Comments
 (0)