update the default xdb path
This commit is contained in:
parent
580d1bb431
commit
572aa7b76a
|
|
@ -177,7 +177,7 @@ if __name__ == '__main__':
|
||||||
"192.168.1.1"
|
"192.168.1.1"
|
||||||
]
|
]
|
||||||
# 1. 缓存
|
# 1. 缓存
|
||||||
dbPath = "./data/ip2region.xdb";
|
dbPath = "./data/ip2region_v4.xdb";
|
||||||
cb = XdbSearcher.loadContentFromFile(dbfile=dbPath)
|
cb = XdbSearcher.loadContentFromFile(dbfile=dbPath)
|
||||||
|
|
||||||
# 2. 创建查询对象
|
# 2. 创建查询对象
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue