diff --git a/genpac.py b/genpac.py index c2968243..485dcaec 100755 --- a/genpac.py +++ b/genpac.py @@ -6,7 +6,7 @@ # Description: 自动代理配置(Proxy Auto-config)文件生成器,基于gfwlist。 # 更多信息访问项目页面 # Author: JinnLynn http://jeeker.net -# Project Page: http://jeeker.net/projects/pac-generator/ +# Project Page: http://jeeker.net/projects/genpac/ # Source: https://github.com/JinnLynn/GenPAC # License: CC BY 3.0 # http://creativecommons.org/licenses/by/3.0/ @@ -178,7 +178,7 @@ def CreatePacFile(gfwlist): pacContent = '''/** * Generated by GenPAC %(ver)s * Author: JinnLynn http://jeeker.net - * Project Page: http://jeeker.net/projects/pac-generator/ + * Project Page: http://jeeker.net/projects/genpac/ */ function regExpMatch(url, pattern) { @@ -223,7 +223,6 @@ def CreatePacFile(gfwlist): 'proxy': generateProxyVar(), 'rules': generatePacRules(gfwlist), } - with open(pacFile, 'w') as handle: handle.write(pacContent % result)