updated to put export into account folder

This commit is contained in:
2022-12-31 16:41:40 -05:00
parent cf280f1bd4
commit 05c7d99dcf

View File

@@ -526,7 +526,7 @@ if __name__ == "__main__":
logger.debug("Item has no attachments")
logger.info("Done downloading attachments")
logger.info("Zipping everything together...")
zip_filename = os.path.join(exports_directory, "Bitwarden Backup {} {}".format(email, datetime_string))
zip_filename = os.path.join(exports_directory, email,"Bitwarden Backup {} {}".format(email, datetime_string))
shutil.make_archive(zip_filename, format="zip", root_dir=working_directory)
if not opts.no_encrypt: