Skip to content

Commit

Permalink
fix for all versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Jun 30, 2022
1 parent e48b6bd commit aca98ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pangolin/utils/initialising.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def print_alias_file_exit(alias_file):

def get_version(programs):
for program in programs:
cmd = [program, "--version"]
cmd = [f"{program} --version"]
output = subprocess.run(cmd, shell=True, check=True,
stdout=subprocess.PIPE, encoding='utf-8')
version = output.stdout.strip().split()[-1].strip('()v')
Expand Down

0 comments on commit aca98ff

Please sign in to comment.