keeping client open

This commit is contained in:
crp3844
2022-09-07 08:34:17 -04:00
parent 90268494a7
commit 710359b324

View File

@@ -278,8 +278,8 @@ if __name__ == "__main__":
print(pykmip_client_config_file)
client = client.ProxyKmipClient(config_file=pykmip_client_config_file)
client.open()
print(encrypt(client, "test"))
client.close()
#print(encrypt(client, "test"))
if opts.config:
if not does_file_exist(secrets_ini_file):
@@ -346,8 +346,8 @@ if __name__ == "__main__":
else:
print("This value must be one of the following characters: e, n, d, q.")
sys.exit(0)
client.close()
sys.exit(0)
print("Which account would you like to edit:")
for i in range(0, len(accounts)):