Moved SRM to test for test argument logic

This commit is contained in:
2023-11-11 13:45:24 -05:00
parent b5aa9ee5eb
commit 4bd45b5017

View File

@@ -548,7 +548,7 @@ if __name__ == "__main__":
else:
logger.error("Unable to login to account, please check API credentials")
#logger.error((bitwarden_login_output.stderr).decode())
if not opts.test:
logger.info("Securely deleting files")
if os_detected == "Windows":
# sdelete.exe .\working\ -p 5 -s