Skip to content
Snippets Groups Projects

pmb.aportgen.device: fix skipping when analyzing boot image

Merged Anri Dellal requested to merge HenriDellal/pmbootstrap:fix-skip-bootimg-analyse into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -111,9 +111,9 @@ def ask_for_bootimg():
while True:
response = pmb.helpers.cli.ask("Path", None, "", False)
path = Path(os.path.expanduser(response))
if not path:
if not response:
return None
path = Path(os.path.expanduser(response))
try:
return pmb.parse.bootimg(path)
except Exception as e:
Loading