Browse Source

[F] Fix lightness config reading

Azalea (on HyDEV-Daisy) 3 years ago
parent
commit
66ff8d06d9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hyfetch/main.py

+ 2 - 2
hyfetch/main.py

@@ -299,9 +299,9 @@ def run():
     if args.scale:
         preset = preset.lighten(args.scale)
     if args.light:
-        preset = preset.set_light(args.light)
+        preset = preset.set_light_raw(args.light)
     if config.lightness:
-        preset = preset.set_light(config.lightness)
+        preset = preset.set_light_dl(config.lightness)
 
     # Debug recommendations
     if args.debug_list: