Skip to content
This repository was archived by the owner on Mar 11, 2019. It is now read-only.

Commit 4ed009a

Browse files
author
elpatron68
committed
added silent_mode
1 parent a61f348 commit 4ed009a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

feedfetcher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ def post_text(text, username, channel):
6464
post_text(feed.jointext(), feed.User, feed.Channel)
6565
feed.LastTitle = feed.NewTitle
6666
else:
67-
logging.debug('Nothing new. Waiting for good news...')
67+
if silent_mode Is False:
68+
logging.debug('Nothing new. Waiting for good news...')
6869
except:
6970
logging.critical('Error fetching feed.')
7071
continue

0 commit comments

Comments
 (0)