Update run.py

This commit is contained in:
A 2024-11-17 00:24:19 +08:00 committed by GitHub
parent 8c198b7a93
commit cf48a347ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
run.py
View File

@ -149,6 +149,8 @@ def main():
continue
for file_path in get_md_path(executable_path, url):
name = os.path.splitext(os.path.basename(file_path))[0]
if name == '.md':
continue
shutil.copy2(file_path,result_path)
data[url] = name
write_json(data_file,data)