Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
NewFuture committed Jun 2, 2017
1 parent 71af689 commit 2bf1f78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DDNS

### TODO:
* [x] 文件缓存(减少服务器IP请求)
* [ ] 腾讯云
* [ ] 同线路多记录支持
* [ ] socks代理
* [ ] 多代理自动切换
Expand All @@ -33,7 +34,7 @@ DDNS

## 配置

<details>
<details open>
<summary> config.json</summary>

可以使用 `-c`使用指定的配置文件 (默认读取当前目录的 config.json)
Expand Down
4 changes: 2 additions & 2 deletions util/ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

import socket
try:
#python2
# python2
from urllib2 import urlopen
except ImportError:
#python3
# python3
from urllib.request import urlopen

DEBUG = False # 是否打印错误
Expand Down

0 comments on commit 2bf1f78

Please sign in to comment.