From 3a48b013b89ad4fa7df07b61e122a7f20daa2e19 Mon Sep 17 00:00:00 2001 From: Luke Ogburn <21106956+logburn@users.noreply.github.com> Date: Tue, 5 Apr 2022 21:19:49 -0400 Subject: [PATCH] un-neutered download and posting --- bot.py | 2 +- reddit.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bot.py b/bot.py index ec7241c..99a5406 100644 --- a/bot.py +++ b/bot.py @@ -22,4 +22,4 @@ class bot(): def toot(self, text, media=None): logging.info(f"Posting:\n Text: {text}") - print("self.masto.status_post(text, media_ids=media)") + self.masto.status_post(text, media_ids=media) diff --git a/reddit.py b/reddit.py index be56342..d9c80ca 100644 --- a/reddit.py +++ b/reddit.py @@ -78,8 +78,6 @@ class reddit_scraper: elif post_type == "gallery": urls = make_gallery_urls() - urls = [] # nueter download - # download all media local_urls = [] i = 0