Python3 compatibility
Make all modules compatible with python3. That `way, #!/usr/bin/env python` in the main file is OK :)
diff --git a/README.md b/README.md
index 3307bbd..edb6930 100644
--- a/README.md
+++ b/README.md
@@ -119,7 +119,6 @@ Modules and commandline utilities are only required for modules, the core itself
 * ping (for the module 'ping')
 * redshift (for the module 'redshift')
 * xrandr (for the module 'xrandr')
-* sensors (for the module 'sensors')
 * mpc (for the module 'mpd')
 * bluez / blueman (for module 'bluetooth')
 * dbus-send (for module 'bluetooth')
diff --git a/bumblebee/modules/sensors.py b/bumblebee/modules/sensors.py
index b8d77d7..b2e68fb 100644
--- a/bumblebee/modules/sensors.py
+++ b/bumblebee/modules/sensors.py
@@ -3,12 +3,8 @@
 
 """Displays sensor temperature
 
-Requires the following executable:
-    * sensors
-
 Parameters:
-    * sensors.match: Line to match against output of 'sensors -u' (default: temp1_input)
-    * sensors.match_number: which of the matches you want (default -1: last match).
+    * sensors.path: path to temperature file (default /sys/class/thermal/thermal_zone0/temp).
 """
 
 import re
@@ -23,19 +19,13 @@ class Module(bumblebee.engine.Module):
                                      bumblebee.output.Widget(full_text=self.temperature))
         self._temperature = "unknown"
         self._mhz = "n/a"
-        pattern = self.parameter("match", "temp1_input")
-        pattern_string = r"^\s*{}:\s*([\d.]+)$".format(pattern)
-        self._match_number = int(self.parameter("match_number", "-1"))
-        self._pattern = re.compile(pattern_string, re.MULTILINE)
         engine.input.register_callback(self, button=bumblebee.input.LEFT_MOUSE, cmd="xsensors")
 
     def get_temp(self):
-        temperatures = bumblebee.util.execute("sensors -u")
-        matching_temp = self._pattern.findall(temperatures)
-        temperature = "unknown"
-        if matching_temp:
-            temperature = int(float(matching_temp[self._match_number]))
-
+        try:
+            temperature = open(self.parameter("path", "/sys/class/thermal/thermal_zone0/temp")).read()[:2]
+        except IOError:
+            temperature = "unknown"
         return temperature
 
     def get_mhz( self ):
['README.md', 'bumblebee/modules/sensors.py']