Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-01-06 18:40:39 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-01-06 18:40:39 (GMT)
commit3048a4e4c52b09cb54cf11415b8fce4a213b4c9c (patch)
tree0cc7c2bf765f801ca0da43445f8fa705d7f4ce66 /plugins
parent2f20402a327d639a7ff7307b098b1eed17706dfa (diff)
power_state is deprecated
Diffstat (limited to 'plugins')
-rw-r--r--plugins/light_sensor/light_sensor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/light_sensor/light_sensor.py b/plugins/light_sensor/light_sensor.py
index bf07f95..8384474 100644
--- a/plugins/light_sensor/light_sensor.py
+++ b/plugins/light_sensor/light_sensor.py
@@ -29,7 +29,7 @@ import logging
_logger = logging.getLogger('turtleart-activity light-sensor plugin')
-LIGHT_SENSOR_DEVICE = '/sys/devices/platform/olpc-ols.0/power_state'
+LIGHT_SENSOR_DEVICE = '/sys/devices/platform/olpc-ols.0/level'
class Light_sensor(Plugin):