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