minor fix

master
Jason Zhu 2021-07-17 23:50:30 +10:00
parent 7c6710469b
commit 6b916d4e4b
1 changed files with 3 additions and 1 deletions

View File

@ -23,4 +23,6 @@ if __name__ == "__main__":
paths = find_all_files(pathlib.Path(path_library)) paths = find_all_files(pathlib.Path(path_library))
for x in paths: for x in paths:
Media(x).convert_symlink_to_hdlink() tempx = Media(x)
if tempx.is_symlink:
tempx.convert_symlink_to_hdlink()