Skip to content

Commit

Permalink
Fixed return type
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrokoren committed Mar 6, 2025
1 parent 17f9a3a commit 887c0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,6 @@ def _stop_display(self) -> None:
self.display.stop()
logger.debug("Stopped virtual display successfully")

def _reset_temp_dir(self):
def _reset_temp_dir(self) -> None:
if hasattr(self, "temp_dir") and self.temp_dir and os.path.exists(self.temp_dir):
shutil.rmtree(self.temp_dir)

0 comments on commit 887c0dc

Please sign in to comment.