mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +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):
|
if not os.path.exists(outputPath):
|
||||||
print outputPath + " does not exist"
|
print outputPath + " does not exist"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
shutil.rmtree(tempPath)
|
if os.path.exists(tempPath):
|
||||||
|
shutil.rmtree(tempPath)
|
||||||
|
|
||||||
failure = False
|
failure = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user