Adding read in of off.lights... should start dev branch of code
This commit is contained in:
1 parent
ca33e27cd6
commit
16e208e799
1 file changed
+13
+13
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user