mirror of
https://kkgithub.com/chinese-poetry/chinese-poetry.git
synced 2026-04-13 21:03:37 +00:00
Merge pull request #183 from jackeyGao/master
bug: fix #182, test: support yuanqu, doc: update
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
## 说明
|
## 说明
|
||||||
|
|
||||||
繁体中文分发, 各个子目录均为章节.
|
繁体中文分发, 各个子文件均为不同章节.
|
||||||
|
|
||||||
## 数据格式
|
## 数据格式
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ def check_json(f, _dir):
|
|||||||
with open(filepath) as file:
|
with open(filepath) as file:
|
||||||
try:
|
try:
|
||||||
_ = json.loads(file.read())
|
_ = json.loads(file.read())
|
||||||
|
print(u"%s 校验成功" % _dir)
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
sys.stderr.write(traceback.format_exc())
|
sys.stderr.write(traceback.format_exc())
|
||||||
@@ -41,3 +42,5 @@ test_nantang2 = functools.partial(__check_path__, u'./wudai/nantang/')
|
|||||||
test_youmengying = functools.partial(__check_path__, u'./youmengying/')
|
test_youmengying = functools.partial(__check_path__, u'./youmengying/')
|
||||||
|
|
||||||
test_sishuwujing = functools.partial(__check_path__, u'./sishuwujing/')
|
test_sishuwujing = functools.partial(__check_path__, u'./sishuwujing/')
|
||||||
|
|
||||||
|
test_yuanqu = functools.partial(__check_path__, u'./yuanqu/')
|
||||||
|
|||||||
22113
yuanqu/yuanqu.json
22113
yuanqu/yuanqu.json
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user