From 2cc49dd68e2f48a38de88730a142f4b417610d75 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 11 Nov 2020 06:11:42 +0530 Subject: [PATCH] removed debug option --- main.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index f3f1b40..76e06f7 100644 --- a/main.py +++ b/main.py @@ -16,7 +16,6 @@ html_stylesheet = "styles/simple.css" title_animation = "fade-down" heading_animation = "fade-right" list_animation = "fade-left" -debug = False ConvertToHTML = True title = date.today().strftime('%d %B, %Y') feeds = configparser.ConfigParser() @@ -32,14 +31,12 @@ if feeds.read("feeds.ini") == []: print("feeds.ini does not exist!") exit(1) else: - if debug: - print("Reading feeds.ini") + print("Reading feeds.ini") feeds.read("feeds.ini") rss_feeds = [x for x in feeds.keys()] rss_feeds.pop(0) -if debug: - print("Read %s feeds from the configuration file" % str(len(rss_feeds))) +print("Read %s feeds from the configuration file" % str(len(rss_feeds))) def GetPosts(feed): Posts = {}