mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
Not all listed 'lead' sections still exist.
This commit is contained in:
parent
f519641e6e
commit
bfccd4838e
1 changed files with 2 additions and 1 deletions
|
|
@ -61,6 +61,7 @@ with open(argv[1],"w", encoding="utf8") as outfile:
|
||||||
kl = list(sections.keys())
|
kl = list(sections.keys())
|
||||||
kl.sort()
|
kl.sort()
|
||||||
for k in leadsects:
|
for k in leadsects:
|
||||||
|
if k in sections:
|
||||||
outfile.write("".join(sections[k]))
|
outfile.write("".join(sections[k]))
|
||||||
|
|
||||||
for k in kl:
|
for k in kl:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue