Skip to content

Commit

Permalink
update watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
3mora2 committed Jul 4, 2023
1 parent 52529b3 commit 69bb25d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ def __init__(

# NOTE: on unix python 3.7, child watching does not
# work properly when asyncio is not running from the main thread
# if UNIX and LTE_PY37:
# from WPP_Whatsapp.PlaywrightSafeThread._future_.threaded_child_watcher import ThreadedChildWatcher
# asyncio.set_child_watcher(ThreadedChildWatcher())
if UNIX and LTE_PY37:
from WPP_Whatsapp.PlaywrightSafeThread.future_.threaded_child_watcher import ThreadedChildWatcher
asyncio.set_child_watcher(ThreadedChildWatcher())

self._stealthy = stealthy
self._browser_name = browser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ def _compute_returncode(status):
return status





class ThreadedChildWatcher(AbstractChildWatcher):
"""Threaded child watcher implementation.
Expand Down

0 comments on commit 69bb25d

Please sign in to comment.