Fixes bug in adb handling

This commit is contained in:
tek 2021-09-29 18:16:33 +02:00
parent 963d3db51a
commit 94a8d9dd91

View File

@ -41,7 +41,7 @@ class AndroidExtraction(MVTModule):
def _adb_check_keys():
"""Make sure Android adb keys exist."""
if not os.path.isdir(os.path.dirname(ADB_KEY_PATH)):
os.path.makedirs(os.path.dirname(ADB_KEY_PATH))
os.makedirs(os.path.dirname(ADB_KEY_PATH))
if not os.path.exists(ADB_KEY_PATH):
keygen(ADB_KEY_PATH)