This commit is contained in:
zandercymatics 2024-06-24 13:21:42 -06:00
parent 5fe084cdab
commit d5cd639b85
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -73,9 +73,7 @@ class Command(BaseCommand):
# password = "devpwd" if override else settings.SECRET_ENCRYPT_METADATA
password = settings.SECRET_ENCRYPT_METADATA
if not password:
raise ValueError(
"No password was specified for this zip file."
)
raise ValueError("No password was specified for this zip file.")
encrypted_zip_in_bytes = self.get_encrypted_zip(zip_filename, reports, password)