Skip to content

Commit

Permalink
remove unnecassary code
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Mar 11, 2024
1 parent a1e0a34 commit 33153ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cat_win/util/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def get_strings(content: list, min_seq_len: int, delim: str) -> list:
for _, line in content:
new_line = []
for char in line:
if isinstance(char, int): # in case of a binary file
char = chr(char)
if 32 <= ord(char) <= 126: # if it is printable ascii
new_string += char
continue
Expand Down

0 comments on commit 33153ab

Please sign in to comment.