Skip to content
Snippets Groups Projects
Unverified Commit dbf3e214 authored by Anri Dellal's avatar Anri Dellal Committed by Oliver Smith
Browse files

pmb.aportgen.device: fix skipping when analyzing boot image (MR 2507)

Fix #2516
parent c831302a
No related branches found
No related tags found
1 merge request!2507pmb.aportgen.device: fix skipping when analyzing boot image
Pipeline #211455 failed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment