update
This commit is contained in:
parent
7eac2071a7
commit
d3dff54b04
@ -28,7 +28,7 @@ print("Deleting rar, sfv, nfo files...")
|
|||||||
for root, dirs, files in os.walk(source_path):
|
for root, dirs, files in os.walk(source_path):
|
||||||
for dir in dirs:
|
for dir in dirs:
|
||||||
if re.search('sample', dir, re.IGNORECASE) or re.search('proof', dir, re.IGNORECASE):
|
if re.search('sample', dir, re.IGNORECASE) or re.search('proof', dir, re.IGNORECASE):
|
||||||
shutil.rmtree(dir)
|
shutil.rmtree(os.path.join(root, dir))
|
||||||
|
|
||||||
for root, dirs, files in os.walk(source_path):
|
for root, dirs, files in os.walk(source_path):
|
||||||
for dir in dirs:
|
for dir in dirs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user