removed debug option
This commit is contained in:
parent
835c494d58
commit
2cc49dd68e
7
main.py
7
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 = {}
|
||||
|
|
Loading…
Reference in New Issue