Skip to content

Commit

Permalink
Update install.py
Browse files Browse the repository at this point in the history
Taking the fix from here pindexis#52
  • Loading branch information
GreenBlast authored Feb 21, 2023
1 parent ef68f2a commit 7b5ec10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def verify_requirements():
sys.exit(1)
if get_shell() == "bash":
version_text = subprocess.Popen("bash --version | head -1", shell=True, stdout=subprocess.PIPE).stdout.read()
m = re.search('(\d).(\d)', version_text)
m = re.search(b'(\d).(\d)', version_text)
if m:
major_version = int(m.group(1))
minor_version = int(m.group(2))
Expand Down

0 comments on commit 7b5ec10

Please sign in to comment.