Add error message if tmp not empty
This commit is contained in:
parent
b4c01557f6
commit
610f07074f
@ -161,6 +161,8 @@ def delete_tmp_dir():
|
|||||||
os.rmdir(os.path.join(TMP_DIR))
|
os.rmdir(os.path.join(TMP_DIR))
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
except OSError:
|
||||||
|
print("Failed deleting due to OSError")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user