diff --git a/qubesadmin/tests/backup/backupcompatibility.py b/qubesadmin/tests/backup/backupcompatibility.py index 53b43a96..bf67954e 100644 --- a/qubesadmin/tests/backup/backupcompatibility.py +++ b/qubesadmin/tests/backup/backupcompatibility.py @@ -1203,9 +1203,9 @@ def handle_v4_file(self, f_name, subdir, stream, compressed="gzip"): part): continue part_with_dir = os.path.join(subdir, part) - f_name = self.scrypt_encrypt(part_with_dir, + f_name_enc = self.scrypt_encrypt(part_with_dir, basedir=self.fullpath('stage1')) - self.append_backup_stream(f_name, stream, + self.append_backup_stream(f_name_enc, stream, basedir=self.fullpath("stage1")) def create_v3_backup(self, encrypted=True, compressed=True):