fix remove
All checks were successful
dl / lint (push) Successful in 1m34s
dl / docker (push) Successful in 49s

This commit is contained in:
Michel Roux 2023-10-02 11:54:17 +02:00
parent efec5add4c
commit a41f88d6b6

View File

@ -78,7 +78,7 @@ def remove(path):
to_remove = [] to_remove = []
for name in os.listdir(path): for name in os.listdir(path):
if os.path.isfile(name): if os.path.isfile(f"{path}/{name}"):
id = get_title_shortid(name) id = get_title_shortid(name)
if not id: if not id: