Browse Source

fix dimming

cuu 5 years ago
parent
commit
0316326819
1 changed files with 3 additions and 2 deletions
  1. 3 2
      sys.py/run.py

+ 3 - 2
sys.py/run.py

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