|
|
@ -12,7 +12,6 @@ def dump():
|
|
|
|
contents = []
|
|
|
|
contents = []
|
|
|
|
|
|
|
|
|
|
|
|
for folder in folders:
|
|
|
|
for folder in folders:
|
|
|
|
loaded = False
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
with open(f"{path}/{folder}/contents.md", "r", encoding="utf8") as f:
|
|
|
|
with open(f"{path}/{folder}/contents.md", "r", encoding="utf8") as f:
|
|
|
|
metadata, body = frontmatter.parse(f.read())
|
|
|
|
metadata, body = frontmatter.parse(f.read())
|
|
|
@ -54,7 +53,7 @@ def dump():
|
|
|
|
string.ascii_uppercase.index(content["start"][0]),
|
|
|
|
string.ascii_uppercase.index(content["start"][0]),
|
|
|
|
int(content["start"][1:]),
|
|
|
|
int(content["start"][1:]),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
print(start)
|
|
|
|
# print(start)
|
|
|
|
for i in range(len(content["word"])):
|
|
|
|
for i in range(len(content["word"])):
|
|
|
|
if content["direction"] == "H":
|
|
|
|
if content["direction"] == "H":
|
|
|
|
# increase number
|
|
|
|
# increase number
|
|
|
|