1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-12 19:09:56 +03:00

init: fix bootimg_analyze step (MR 2358)

This commit is contained in:
Anri Dellal 2024-07-09 17:21:44 +03:00
parent ebef789f7c
commit 3d9607aa99
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -3,6 +3,7 @@
from pmb.core.context import get_context
from pmb.core.arch import Arch
from pmb.helpers import logging
from pathlib import Path
import os
import pmb.helpers.cli
import pmb.helpers.run
@ -113,7 +114,7 @@ def ask_for_bootimg():
while True:
response = pmb.helpers.cli.ask("Path", None, "", False)
path = os.path.expanduser(response)
path = Path(os.path.expanduser(response))
if not path:
return None
try: