Skip to content

Commit

Permalink
get_screenshot -> take_screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr committed Apr 20, 2023
1 parent 8a563bb commit 18327f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions puterbot/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
get_double_click_distance_pixels,
get_double_click_interval_seconds,
get_monitor_dims,
get_screenshot,
take_screenshot,
get_timestamp,
set_start_time,
)
Expand Down Expand Up @@ -359,7 +359,7 @@ def read_screen_events(
set_start_time(recording_timestamp)
logger.info(f"starting")
while not terminate_event.is_set():
screenshot = get_screenshot()
screenshot = take_screenshot()
if screenshot is None:
logger.warning("screenshot was None")
continue
Expand Down

0 comments on commit 18327f0

Please sign in to comment.