mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-26 02:03:37 +01:00
Fix #51 by changing if --> elif
This commit is contained in:
parent
7a04cae1be
commit
83667a52f4
@ -16,7 +16,7 @@ download_options = json.loads(resp_body)
|
||||
|
||||
if platform.system() == 'Linux' and platform.machine() == "x86_64":
|
||||
download_url = download_options['linux_amd_64_url']
|
||||
if platform.system() == 'Linux' and platform.machine() == "arm64":
|
||||
elif platform.system() == 'Linux' and platform.machine() == "arm64":
|
||||
download_url = download_options['linux_arm_64_url']
|
||||
elif platform.system() == 'Darwin' and platform.machine() == 'arm64':
|
||||
download_url = download_options['darwin_arm_64_url']
|
||||
|
Loading…
Reference in New Issue
Block a user