mirror of
https://github.com/gelusus/wxvl.git
synced 2025-06-07 21:46:41 +00:00
Update run.py
This commit is contained in:
parent
8c198b7a93
commit
cf48a347ed
2
run.py
2
run.py
@ -149,6 +149,8 @@ def main():
|
|||||||
continue
|
continue
|
||||||
for file_path in get_md_path(executable_path, url):
|
for file_path in get_md_path(executable_path, url):
|
||||||
name = os.path.splitext(os.path.basename(file_path))[0]
|
name = os.path.splitext(os.path.basename(file_path))[0]
|
||||||
|
if name == '.md':
|
||||||
|
continue
|
||||||
shutil.copy2(file_path,result_path)
|
shutil.copy2(file_path,result_path)
|
||||||
data[url] = name
|
data[url] = name
|
||||||
write_json(data_file,data)
|
write_json(data_file,data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user