v0.2.0 + Patches
This release would have been v0.1.8 but that is less than 0.1.72 which should have been obvious to me.
Changes:
- Functions no longer return
Falseupon failure but they raise aScreenBrightnessError. This was an effort to unify the various exceptions that get raised (wmi.x_wmion Windows,FileNotFoundErrorandPermissionErroron Linux) get_brightnessandset_brightnessaccept a new kwargverbose_error=False. This controls the level of detail in the exceptions raised.get_brightness(max_value=True)will only return 100 if the brightness can actually be retrieved. Otherwise it raises theScreenBrightnessError
v0.2.1:
- Fixed
get_brightnessattribute errors for Windows - The Windows version will now set the brightness for ALL wmi brightness methods (not just the first one)
- If there are multiple brightness methods then
get_brightnesswill return a list of brightness values - Added a copy of the MIT license to the files
v0.2.2
- Updated README with an FAQ section
- Minor adjustment to
fade_brightness