From 1148253f688a025c4e80d5554c53d9c01d37b30e Mon Sep 17 00:00:00 2001 From: oooldtoy <51742057+oooldtoy@users.noreply.github.com> Date: Fri, 4 Oct 2019 17:49:37 +0800 Subject: [PATCH] Update ip_crawl_tool.py --- ip_crawl_tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ip_crawl_tool.py b/ip_crawl_tool.py index 25a23be..c0d291b 100644 --- a/ip_crawl_tool.py +++ b/ip_crawl_tool.py @@ -42,7 +42,7 @@ def run(name): if name_en == '': name_en = 'none' if name_zh == '': - name_zh == name + name_zh = name f = open('{}.rules'.format(name), 'wb') f.write('#{},{},0,0,1,0,1,0,By-ip_crawl_tool\n'.format(name_en,name_zh).encode()) f.close() @@ -71,4 +71,4 @@ def run(name): #test() #run('dlpc.exe') a = input('请输入游戏进程名(可启动游戏后在任务管理器 进程 中查询):') - run(a) \ No newline at end of file + run(a)