diff --git a/sbapp/plyer/platforms/android/light.py b/sbapp/plyer/platforms/android/light.py index 13dd394..6e74b13 100644 --- a/sbapp/plyer/platforms/android/light.py +++ b/sbapp/plyer/platforms/android/light.py @@ -44,7 +44,7 @@ class AndroidLight(Light): listener = None def _get_illumination(self): - if self.listener and self.listener.value: + if self.listener and self.listener.value != None: light = self.listener.value return light