mirror of
https://github.com/mvt-project/mvt.git
synced 2026-05-15 21:48:18 +02:00
Enforcing double quotes
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ log = logging.getLogger(__name__)
|
||||
OUTPUT_HELP_MESSAGE = "Specify a path to a folder where you want to store JSON results"
|
||||
|
||||
# Set this environment variable to a password if needed.
|
||||
PASSWD_ENV = 'MVT_IOS_BACKUP_PASSWORD'
|
||||
PASSWD_ENV = "MVT_IOS_BACKUP_PASSWORD"
|
||||
|
||||
#==============================================================================
|
||||
# Main
|
||||
|
||||
@@ -56,7 +56,7 @@ class IOSExtraction(MVTModule):
|
||||
bak_path = f"{file_path}.bak"
|
||||
shutil.move(file_path, bak_path)
|
||||
|
||||
ret = subprocess.call(['sqlite3', bak_path, f'.clone "{file_path}"'],
|
||||
ret = subprocess.call(["sqlite3", bak_path, f".clone '{file_path}'"],
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
if ret != 0:
|
||||
raise DatabaseCorruptedError("Recovery of database failed")
|
||||
|
||||
Reference in New Issue
Block a user