Skip to content

Commit

Permalink
项目页面地址错误
Browse files Browse the repository at this point in the history
  • Loading branch information
JinnLynn committed May 8, 2012
1 parent 7959a86 commit 5d89fb9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions genpac.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -223,7 +223,6 @@ def CreatePacFile(gfwlist):
'proxy': generateProxyVar(),
'rules': generatePacRules(gfwlist),
}

with open(pacFile, 'w') as handle:
handle.write(pacContent % result)

Expand Down

0 comments on commit 5d89fb9

Please sign in to comment.