Fixed Brightness Timeout Bug

This commit is contained in:
Adam Shaw
2018-07-24 22:58:31 -05:00
committed by GitHub
parent 3a93535eeb
commit 534b2e41ce

View File

@@ -189,7 +189,7 @@ def InspectionTeam(main_screen):
content = f.readlines()
content = [x.strip() for x in content]
brt=int(content[0])
if brt > 0:
if brt != 1 and brt > 0:
last_brt = brt ## remember brt for restore
brt = 1