display_manager
display_manager copied to clipboard
Output error
I use simple script for get current brightness level.
import display_manager.display_manager_lib
import Quartz
print(display_manager.display_manager_lib.Display(displayID=Quartz.CGMainDisplayID()).brightness)
Output is:
(-536870201, 0.0)
My environment
MacOS Monterey 13.1
python 3.11
How to solve this problem?