commit 6e306fcdb06d6158b573ab89a8116b5e3d95d18b
Author: dsorber <david.sorber@gmail.com>
Date:   Tue Apr 30 20:23:16 2013 -0400

    Okay, fixing that bug for reals now.

diff --git a/525.743/code/rpi_client.py b/525.743/code/rpi_client.py
index 697bdbb..9961e33 100644
--- a/525.743/code/rpi_client.py
+++ b/525.743/code/rpi_client.py
@@ -32,7 +32,6 @@ REMOTE_DATA_INTERVAL = 1 # in seconds
 def button_isr(gpio_id, val):
 	global CURRENT_IDX
 	global SENSORS
-	global DEBUG
 
 	# Turn off previous sensor indicator LED
 	SENSORS[CURRENT_IDX].led.off()
@@ -47,6 +46,7 @@ def button_isr(gpio_id, val):
 def main():
 	global CURRENT_IDX
 	global SENSORS
+	global DEBUG
 
 	# Make sure the script is being run as root before continuing
 	if os.geteuid() != 0:
