Skip to content

Commit

Permalink
Remove dead comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed Oct 25, 2023
1 parent 66da92d commit 44a674f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,13 @@ def check_screen(self) -> bool:
return "true" in screen_cmd_output.get_captured_output()

async def prepare_screen_recording(self) -> None:
# try:
# async with asyncio.timeout_at(asyncio.get_running_loop().time() + 20.0):
screen_on = self.check_screen()
while not screen_on:
await asyncio.sleep(4)
screen_on = self.check_screen()
if not screen_on:
self.logger.error("Please turn the screen on so screen recording can start or check connection!")

# except TimeoutError:
# self.logger.error("Screen recording timeout")
# return

def update_commands(self) -> None:
self.screen_artifact = create_standard_log_name("screencast" + str(self.file_counter),
"mp4",
Expand Down

0 comments on commit 44a674f

Please sign in to comment.