We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c71602e commit a7e006cCopy full SHA for a7e006c
.scripts/summarize_progress/main.py
@@ -159,7 +159,7 @@ def format_line_directory(dirname: str) -> str:
159
160
filedict_sorted = dict(sorted(filedict.items()))
161
for filename, filedata in filedict_sorted.items():
162
- file_path = f"{dirname}/{filename}"
+ file_path = f"{dirname}/{filename}" if dirname else filename
163
po_link = f"https://github.com/python/python-docs-zh-tw/tree/3.13/{file_path}"
164
issue_link = filedata['issue']
165
issue_number = f"#{issue_link.split('/')[-1]}"
0 commit comments