From 53477b36a3f87988679038cb0383c3fb4836daee Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 6 Dec 2018 11:53:14 +0100 Subject: [PATCH] Simplify install() --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 68d248d..c06c019 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,4 @@ uninstallkey = [] def install(): print('Installing Apple Mobile Device Support') - if iswin64(): - install_msi_if_needed("AppleMobileDeviceSupport64.msi") - else: - install_msi_if_needed("AppleMobileDeviceSupport.msi") + install_msi_if_needed('AppleMobileDeviceSupport64.msi' if iswin64() else 'AppleMobileDeviceSupport.msi')