From cf0b7aeeab89a88ae713e5c08a2bd14adb3136cf Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Sun, 29 Jan 2017 16:44:35 -0300 Subject: [PATCH] Fix armv6 platform detection --- .../resources/lib/kodipopcorntime/platform.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/platform.py b/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/platform.py index 5d5b4b0..5e787f8 100755 --- a/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/platform.py +++ b/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/platform.py @@ -1,5 +1,7 @@ #!/usr/bin/python -import sys, os +import os +import sys + class Platform(object): class __metaclass__(type): @@ -9,8 +11,6 @@ def __getattr__(cls, name): def _arch(cls): if sys.platform.lower().startswith('linux') and (os.uname()[4].lower().startswith('arm') or os.uname()[4].lower().startswith('aarch')): - if os.uname()[4].lower().startswith('armv6'): - cls.arch = 'armv6' cls.arch = 'arm' elif sys.maxsize > 2**32 or sys.platform.lower().startswith('linux') and os.uname()[4].lower().startswith('x86_64'): cls.arch = 'x64'