fix remove
This commit is contained in:
parent
efec5add4c
commit
a41f88d6b6
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user