diff --git a/grattoir/__init__.py b/grattoir/__init__.py index e97b6dd..0556da0 100644 --- a/grattoir/__init__.py +++ b/grattoir/__init__.py @@ -26,6 +26,7 @@ class Grattoir(object): self._driver = None def __enter__(self): + self._driver = None p_path = tor_profile() profile = firefox.firefox_profile.FirefoxProfile(profile_directory=p_path) b_path = tor_browser_binary_path()