Last active
September 10, 2020 03:28
-
-
Save dev4Fun/2a932c1cea1d5d30094c2de8c4df6087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def __enter__(self): | |
if not config.SKIP_LOGIN: | |
self.log_in() | |
return self | |
def __exit__(self, exc_type, exc_val, exc_tb): | |
self.driver.quit() | |
logger.info(post_tracker.stats) | |
return None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment