Added more example data
This commit is contained in:
parent
f8a841f90d
commit
007f3420b8
5
.gitignore
vendored
5
.gitignore
vendored
@ -157,12 +157,15 @@ config.json
|
||||
|
||||
data/*
|
||||
!data/example.json
|
||||
!data/default_example.json
|
||||
|
||||
configs/*
|
||||
!configs/example.json
|
||||
|
||||
templates/*
|
||||
!templates/example.json
|
||||
!templates/example.docx
|
||||
|
||||
output/*
|
||||
|
||||
*.code-workspace
|
||||
|
||||
|
1172
data/default_example.json
Normal file
1172
data/default_example.json
Normal file
File diff suppressed because it is too large
Load Diff
1173
data/example.json
1173
data/example.json
File diff suppressed because it is too large
Load Diff
2
main.py
2
main.py
@ -24,6 +24,8 @@ def main():
|
||||
|
||||
location_birth = None
|
||||
for alt_name in data["header"]["birth_place"]["alternateNames"]:
|
||||
if "lang" not in alt_name:
|
||||
continue
|
||||
if alt_name["lang"] == lang:
|
||||
location_birth = alt_name["name"]
|
||||
break
|
||||
|
BIN
templates/example.docx
Normal file
BIN
templates/example.docx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user