mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 18:28:50 +01:00
bug fix
This commit is contained in:
parent
fc86c7361e
commit
ee4a98cc2f
@ -163,12 +163,13 @@ def InspectionTeam(main_screen):
|
|||||||
elif cur_time - everytime_keydown > time_3 and passout_time_stage == 2:
|
elif cur_time - everytime_keydown > time_3 and passout_time_stage == 2:
|
||||||
print("Power Off counting down")
|
print("Power Off counting down")
|
||||||
|
|
||||||
|
if main_screen._CounterScreen._Counting == True:
|
||||||
|
return True
|
||||||
|
|
||||||
main_screen._CounterScreen.Draw()
|
main_screen._CounterScreen.Draw()
|
||||||
main_screen._CounterScreen.SwapAndShow()
|
main_screen._CounterScreen.SwapAndShow()
|
||||||
main_screen._CounterScreen.StartCounter()
|
main_screen._CounterScreen.StartCounter()
|
||||||
|
|
||||||
if main_screen._CounterScreen._Counting == True:
|
|
||||||
return True
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
f = open(config.BackLight,"r+")
|
f = open(config.BackLight,"r+")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user