mirror of
https://github.com/mvt-project/mvt.git
synced 2026-09-04 09:00:54 +02:00
Update global_preferences.py
Added a warning for lockdown mode when the property is not present
This commit is contained in:
@@ -43,6 +43,9 @@ class GlobalPreferences(IOSExtraction):
|
|||||||
self.log.warning("Lockdown mode enabled")
|
self.log.warning("Lockdown mode enabled")
|
||||||
else:
|
else:
|
||||||
self.log.warning("Lockdown mode disabled")
|
self.log.warning("Lockdown mode disabled")
|
||||||
|
else: # If the property is not present, it is disabled by default
|
||||||
|
self.log.warning("Lockdown mode disabled")
|
||||||
|
|
||||||
|
|
||||||
def process_file(self, file_path: str) -> None:
|
def process_file(self, file_path: str) -> None:
|
||||||
with open(file_path, "rb") as handle:
|
with open(file_path, "rb") as handle:
|
||||||
|
|||||||
Reference in New Issue
Block a user