diff --git a/resources/site-packages/elementum/osarch.py b/resources/site-packages/elementum/osarch.py index d2355b6ab..0c057f18c 100644 --- a/resources/site-packages/elementum/osarch.py +++ b/resources/site-packages/elementum/osarch.py @@ -44,15 +44,15 @@ def get_platform(): ret["os"] = "darwin" ret["arch"] = "x64" - if platform.platform().contains("AppleTV"): + if "AppleTV" in platform.platform(): ret["os"] = "ios" ret["arch"] = "arm-7" - if platform.platform().contains("64bit"): + if "64bit" in platform.platform(): ret["arch"] = "arm64" elif xbmc.getCondVisibility("system.platform.ios"): ret["os"] = "ios" ret["arch"] = "arm-7" - if platform.platform().contains("64bit"): + if "64bit" in platform.platform(): ret["arch"] = "arm64" # elif xbmc.getCondVisibility("system.platform.osx"):