From 1284693cf7216b5347a4e6bce8609237989eadad Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Tue, 13 Sep 2022 22:25:30 -0400 Subject: [PATCH] added exports and working directory variables --- bitwardenBackup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitwardenBackup.py b/bitwardenBackup.py index 8a49852..3f4b432 100644 --- a/bitwardenBackup.py +++ b/bitwardenBackup.py @@ -19,6 +19,8 @@ from kmip.pie import client secure_delete.secure_random_seed_init() os_detected = platform.system() script_directory = os.path.dirname(os.path.realpath(__file__)) +working_directory = os.path.join(script_directory, "working") +exports_directory = os.path.join(script_directory, "exports") script_name = os.path.basename(__file__) secrets_config_file = os.path.join(script_directory, "secrets.config") pykmip_client_config_file = os.path.join(script_directory, "conf", "client.conf") @@ -486,6 +488,7 @@ if __name__ == "__main__": time.sleep(1) else: logger.debug("Item has no attachments") + logger.info("Done downloading attachments") logger.info("Securely deleting files") secure_delete.secure_delete(os.path.join(script_directory, "exports"))