Merge pull request #50 from follower46/master

Fixed Brightness Timeout Bug
This commit is contained in:
dphys 2018-07-25 12:02:41 +08:00 committed by GitHub
commit 26ad1e57b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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