From 35d54d1eb17d1d982e601c882fd58acc0ef40054 Mon Sep 17 00:00:00 2001 From: Ali Parlakci Date: Wed, 25 Jul 2018 13:48:30 +0300 Subject: [PATCH] Stylize --- src/searcher.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/searcher.py b/src/searcher.py index e170cea..4d9b0d1 100644 --- a/src/searcher.py +++ b/src/searcher.py @@ -374,16 +374,10 @@ def redditSearcher(posts,SINGLE_POST=False): if not len(subList) == 0: print( - "\n\nTotal of {} submissions found!\n"\ - "{} GFYCATs, {} IMGURs, {} EROMEs, {} DIRECTs and {} SELF POSTS\n" - .format( - len(subList), - gfycatCount, - imgurCount, - eromeCount, - directCount, - selfCount - ) + f"\n\nTotal of {len(subList)} submissions found!\n"\ + f"{gfycatCount} GFYCATs, {imgurCount} IMGURs, " \ + f"{eromeCount} EROMEs, {directCount} DIRECTs " \ + f"and {selfCount} SELF POSTS" ) return subList else: