Allow aarch64 architecture to download arm binary

aarch64 linux systems should provide backwards compatibility for armv7
compiled binaries.
pull/1185/merge
Åke Forslund 2017-12-20 09:36:32 +01:00 committed by Steve Penrod
parent 41c2f43022
commit 5c47ed8cd8
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class DeviceApi(Api):
def get_subscriber_voice_url(self, voice=None):
self.check_token()
archs = {'x86_64': 'x86_64', 'armv7l': 'arm'}
archs = {'x86_64': 'x86_64', 'armv7l': 'arm', 'aarch64': 'arm'}
arch = archs.get(get_arch())
if arch:
path = '/' + self.identity.uuid + '/voice?arch=' + arch