Last active
February 7, 2020 04:25
-
-
Save dev4Fun/0bbe04fc8fe57552559c66dfefdffb84 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 work_on_subreddit(self, subreddit: str, **generator_kwargs): | |
| ... | |
| try: | |
| submissions = list(self.reddit_client.subreddit(subreddit).new(**generator_kwargs)) | |
| ... | |
| finally: | |
| dump_pickled(self.passed_submissions, f"submissions-{self.username}.pickle") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment