added a logout in the beginning to ensure a clean start
This commit is contained in:
@@ -471,6 +471,8 @@ if __name__ == "__main__":
|
||||
sys.exit(1)
|
||||
else:
|
||||
emails = emails_from_config_file
|
||||
logger.debug("Logging out of any Bitwarden account to start fresh")
|
||||
logger.debug((subprocess.run([bitwarden_cli_executable, 'logout'], capture_output=True).stdout).decode())
|
||||
for email in emails:
|
||||
vault_password = accounts[email]['account_vault_password']
|
||||
os.environ["BW_CLIENTID"] = accounts[email]['account_api_client_id']
|
||||
|
||||
Reference in New Issue
Block a user