Make some minor improvements
This commit is contained in:
@@ -118,8 +118,6 @@ def fncPath():
|
||||
fncPath = _TMP_ROOT / "function"
|
||||
if fncPath.is_dir():
|
||||
shutil.rmtree(fncPath)
|
||||
elif fncPath.is_file():
|
||||
fncPath.unlink()
|
||||
fncPath.mkdir(exist_ok=True)
|
||||
return fncPath
|
||||
|
||||
|
||||
Reference in New Issue
Block a user