Skip to content

Commit 8d8168a

Browse files
committed
workbook 자동화
1 parent a91847e commit 8d8168a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

workbook/actions.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ def gen_total_workbook(attrs):
132132
# 문제집
133133
| 번호 | 주제 | 진행도 |
134134
| :--: | :--: | :--: |\n''')
135-
for attr, pbar in zip(attrs, pbars):
136-
if len(attr) < 3:
137-
f.write(f'| {attr[0]} | {attr[1]} | |\n')
138-
else:
139-
f.write(f'| {attr[0]} | [{attr[1]}](workbook/{attr[0].replace(" ", "%20")}.md) | {pbar} |\n')
135+
for attr, pbar in zip(attrs, pbars):
136+
if len(attr) < 3:
137+
f.write(f'| {attr[0]} | {attr[1]} | |\n')
138+
else:
139+
f.write(f'| {attr[0]} | [{attr[1]}](workbook/{attr[0].replace(" ", "%20")}.md) | {pbar} |\n')
140140

141141
if __name__ == "__main__":
142142
attrs = parse_links()

0 commit comments

Comments
 (0)