diff --git a/save-image.py b/save-image.py index 8c4e688..f80bfc0 100644 --- a/save-image.py +++ b/save-image.py @@ -29,7 +29,7 @@ reddit = praw.Reddit(client_id="TB3qNrAO2cnRkpmI-Vd8hg", with open(current_path+"/used-posts.json", "r") as used_posts_file: used_posts = json.load(used_posts_file) -debugging_message("Getting a post from r/"+subreddit_name) +debugging_message("Getting a post from "+subreddit_name) subreddit = reddit.subreddit(subreddit_name) hot_post = subreddit.hot() for post in hot_post: diff --git a/used-posts.json b/used-posts.json new file mode 100644 index 0000000..58caea8 --- /dev/null +++ b/used-posts.json @@ -0,0 +1 @@ +{"ids": []} \ No newline at end of file