mirror of
https://github.com/liberatedsystems/Sideband_CE.git
synced 2024-09-03 04:13:27 +02:00
Fixed light sensor bug in plyer
This commit is contained in:
parent
e69f0b9055
commit
ecf13e0041
@ -44,7 +44,7 @@ class AndroidLight(Light):
|
|||||||
listener = None
|
listener = None
|
||||||
|
|
||||||
def _get_illumination(self):
|
def _get_illumination(self):
|
||||||
if self.listener and self.listener.value:
|
if self.listener and self.listener.value != None:
|
||||||
light = self.listener.value
|
light = self.listener.value
|
||||||
return light
|
return light
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user