Skip to content

Commit

Permalink
use global SCT in get_monitor_dims
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr committed Feb 24, 2024
1 parent 23330ce commit 4dd51a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openadapt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ def get_monitor_dims() -> tuple[int, int]:
# TODO XXX: replace with get_screenshot().size and remove get_scale_ratios?


SCT = mss.mss()
monitor = SCT.monitors[0]
monitor_width = monitor["width"]
monitor_height = monitor["height"]
Expand Down

0 comments on commit 4dd51a7

Please sign in to comment.