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 0112ec1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 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 Expand Up @@ -254,7 +257,7 @@ def main(page: Page, test: bool = False, test_config: str = "sargo"):
),
padding=15,
tooltip="Report an issue on github",
)
),
],
)

Expand Down

0 comments on commit 0112ec1

Please sign in to comment.