Skip to content

Commit

Permalink
FIX: Remove start_browser in __enter__
Browse files Browse the repository at this point in the history
  • Loading branch information
kayqueGovetri committed Nov 29, 2022
1 parent 7844e5c commit 17f3cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botcity/web/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self, headless=False):
self._download_folder_path = os.getcwd()

def __enter__(self):
self.start_browser()
pass

def __exit__(self, exc_type, exc_value, traceback):
self.stop_browser()
Expand Down

0 comments on commit 17f3cdd

Please sign in to comment.