fix bug!!

This commit is contained in:
岛风 2024-06-27 02:21:50 +08:00
parent ba7821dddc
commit c64c2f3581

View File

@ -40,7 +40,7 @@ def save_urls(urls, output_file, root_folder):
for file in files:
f.write(f" {file}\n")
else:
f.write(f" {dir_name}:\n")
f.write(f" {dir_name.split('/')[-1]}:\n")
for file in files:
f.write(f" {file}\n")