Adding read in of off.lights... should start dev branch of code

This commit is contained in:
rich committed 2016-04-12 14:43:20 -04:00
1 parent ca33e27cd6
commit 16e208e799
1 file changed
+13
+13
View File
@@ -76,6 +76,19 @@ def main(argv):
print "Username: %s" % username
raw_input("Press enter to continue")
"""
"""
# Read in status from last time app ran
try:
with open("off.lights") as f:
prev_status = f.readlines()
except:
print "Error reading file."
if prev_status[1] == bridge:
"""
try:
bridge = Bridge(bridgeIP)