From 89cfe9e953686a7bf43e2a9e8b8532fff4469294 Mon Sep 17 00:00:00 2001 From: Lillith Fox Date: Mon, 2 Dec 2024 17:29:30 -0500 Subject: [PATCH] fix: prefixlist & suffixlist --- scripts/cat/names.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cat/names.py b/scripts/cat/names.py index f32977a8de..ee5ecbeb33 100644 --- a/scripts/cat/names.py +++ b/scripts/cat/names.py @@ -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) @@ -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)