From e3a8bde150ebb059fab0ef8f6ebee4c54372cf93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donncha=20=C3=93=20Cearbhaill?= Date: Sun, 20 Mar 2022 15:56:13 +0100 Subject: [PATCH] Fix path error when relative '.' used as backup source directory --- mvt/ios/decrypt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mvt/ios/decrypt.py b/mvt/ios/decrypt.py index 6810b09..4ce97b9 100644 --- a/mvt/ios/decrypt.py +++ b/mvt/ios/decrypt.py @@ -7,6 +7,7 @@ import binascii import glob import logging import os +import os.path import shutil import sqlite3 @@ -27,7 +28,7 @@ class DecryptBackup: :param backup_path: Path to the encrypted backup folder :param dest_path: Path to the folder where to store the decrypted backup """ - self.backup_path = backup_path + self.backup_path = os.path.abspath(backup_path) self.dest_path = dest_path self._backup = None self._decryption_key = None