update
This commit is contained in:
parent
68ba468192
commit
07bbb21b28
4
Readarr/delete_files.py
Normal file → Executable file
4
Readarr/delete_files.py
Normal file → Executable 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:
|
||||
|
Reference in New Issue
Block a user