Skip to content
Snippets Groups Projects
Commit 1711d5c0 authored by Christian's avatar Christian
Browse files

LED color tweaks

parent 87cd7c1f
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,9 @@ else: ...@@ -85,6 +85,9 @@ else:
pixels = None pixels = None
buzzPin= None buzzPin= None
Builder.unload_file("GWalarm.kv")
Builder.load_file('GWalarm.kv')
'''are we in the right folder? Preserves img functionality''' '''are we in the right folder? Preserves img functionality'''
if os.path.basename(os.getcwd()) != 'event_data': if os.path.basename(os.getcwd()) != 'event_data':
os.chdir('./event_data') os.chdir('./event_data')
...@@ -116,8 +119,7 @@ flag = 0 ...@@ -116,8 +119,7 @@ flag = 0
main_flag=0 main_flag=0
newevent_flag=0 newevent_flag=0
Builder.unload_file("GWalarm.kv")
Builder.load_file('GWalarm.kv')
class HisColLabel(ToggleButtonBehavior,Label): class HisColLabel(ToggleButtonBehavior,Label):
sorttype=ObjectProperty() sorttype=ObjectProperty()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment