From af294929510f884d92b25eaa855c29fc4fb6dcaa Mon Sep 17 00:00:00 2001 From: Ali Parlakci Date: Mon, 30 Jul 2018 13:36:48 +0300 Subject: [PATCH] Hide KeyboardInterrupt --- src/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/searcher.py b/src/searcher.py index 8b7aff9..709ff51 100644 --- a/src/searcher.py +++ b/src/searcher.py @@ -367,7 +367,7 @@ def redditSearcher(posts,SINGLE_POST=False): allPosts[subCount] = [details] except KeyboardInterrupt: - print("\nKeyboardInterrupt",end="") + print("\nKeyboardInterrupt",noPrint=True) postsFile.add(allPosts)