From 260dde9ee46efb353aab3047be5000bcd31e93b4 Mon Sep 17 00:00:00 2001 From: nz11 <nz11@illinois.edu> Date: Thu, 18 Mar 2021 22:43:39 +0000 Subject: [PATCH] fix parse_int --- hpvm/scripts/hpvm_installer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hpvm/scripts/hpvm_installer.py b/hpvm/scripts/hpvm_installer.py index bf879cdb1d..11ad304552 100755 --- a/hpvm/scripts/hpvm_installer.py +++ b/hpvm/scripts/hpvm_installer.py @@ -74,6 +74,7 @@ def prompt_args(): def parse_int(s: str): try: v = int(s) + return v except ValueError: return None if v <= 0: -- GitLab