Skip to content

Commit

Permalink
Catch issue with heimdall info on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Mar 6, 2023
1 parent 508f843 commit 51404de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openandroidinstaller/openandroidinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ def log_version_infos(bin_path):
hdversion = [
line for line in run_command("heimdall info", bin_path, enable_logging=False)
]
logger.info(f"Heimdall version: {hdversion[1].strip()}")
try:
logger.info(f"Heimdall version: {hdversion[1].strip()}")
except:
logger.info(f"Issue with heimdall: {hdversion}")


def main(page: Page, test: bool = False, test_config: str = "sargo"):
Expand Down

0 comments on commit 51404de

Please sign in to comment.