mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
chdtest.py: only try to clear temp folder when it exists (nw)
This commit is contained in:
parent
7b452af65e
commit
9df9cd93dc
@ -129,8 +129,9 @@ if not os.path.exists(inputPath):
|
||||
if not os.path.exists(outputPath):
|
||||
print outputPath + " does not exist"
|
||||
sys.exit(1)
|
||||
|
||||
shutil.rmtree(tempPath)
|
||||
|
||||
if os.path.exists(tempPath):
|
||||
shutil.rmtree(tempPath)
|
||||
|
||||
failure = False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user