This commit is contained in:
Gregory Salaun 2023-02-15 11:16:29 +07:00
parent 68ba468192
commit 07bbb21b28

4
Readarr/delete_files.py Normal file → Executable file
View File

@ -31,13 +31,13 @@ for key, value in book.items():
f.write('\n')
f.close()
if radarrBasePath not in PATH_LIST:
if radarrBasePath not in PATH_LIST:
try:
os.remove(radarrSourcePath)
os.rmdir(radarrMovieFolder)
except:
pass
else:
else:
try:
os.remove(radarrSourcePath)
except: