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:
parent
ebef789f7c
commit
3d9607aa99
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue