mirror of
https://github.com/LC044/WeChatMsg
synced 2025-04-29 09:18:18 +08:00
删除了一些无意义的代码与注释
This commit is contained in:
parent
9ab8d7cb38
commit
2056f3b89e
@ -25,8 +25,6 @@ class StopwordsWindow(tk.Tk):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.title("屏蔽词管理")
|
self.title("屏蔽词管理")
|
||||||
|
|
||||||
# Set the size of the window
|
|
||||||
self.geometry("250x170")
|
self.geometry("250x170")
|
||||||
|
|
||||||
# File paths
|
# File paths
|
||||||
@ -57,7 +55,6 @@ class StopwordsWindow(tk.Tk):
|
|||||||
|
|
||||||
def add_stopwords(self):
|
def add_stopwords(self):
|
||||||
original_stopwords_file = os.path.abspath('./app/data/stopwords.txt')
|
original_stopwords_file = os.path.abspath('./app/data/stopwords.txt')
|
||||||
default_stopwords_file = os.path.abspath('./app/data/default_stopwords.txt')
|
|
||||||
|
|
||||||
user_input = self.user_input.get()
|
user_input = self.user_input.get()
|
||||||
word_list = user_input.split()
|
word_list = user_input.split()
|
||||||
|
Loading…
Reference in New Issue
Block a user