Skip to content

Commit

Permalink
Merge pull request #3102 from lillithkt/fix/prefixsuffixlist
Browse files Browse the repository at this point in the history
fix: prefixlist & suffixlist.txt loading
  • Loading branch information
scribblecrumb authored Dec 3, 2024
2 parents cdd0f19 + 89cfe9e commit d86ec57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/cat/names.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Name:

if os.path.exists(get_save_dir() + "/prefixlist.txt"):
with open(
str(get_save_dir() + "/prefixlist.txt", "r"), encoding="utf-8"
str(get_save_dir() + "/prefixlist.txt"), "r", encoding="utf-8"
) as read_file:
name_list = read_file.read()
if_names = len(name_list)
Expand All @@ -39,7 +39,7 @@ class Name:

if os.path.exists(get_save_dir() + "/suffixlist.txt"):
with open(
str(get_save_dir() + "/suffixlist.txt", "r"), encoding="utf-8"
str(get_save_dir() + "/suffixlist.txt"), "r", encoding="utf-8"
) as read_file:
name_list = read_file.read()
if_names = len(name_list)
Expand Down

0 comments on commit d86ec57

Please sign in to comment.