diff --git a/src/searcher.py b/src/searcher.py index 6ac6fbe..ecb88e0 100644 --- a/src/searcher.py +++ b/src/searcher.py @@ -360,7 +360,7 @@ def redditSearcher(posts,SINGLE_POST=False): printSubmission(submission,subCount,orderCount) subList.append(details) - allPosts = {**allPosts,**details} + allPosts[subCount] = [details] postsFile.add(allPosts)