Browse files

Switch the warning to an info log for a missing ~/.gntp file

It's not a severe warning when there is not a ~/.gntp file since
the class provides reasonable defaults. I also don't want to set
the default warning level as high as ERROR in case there are
actual warnings that need to be printed out.
  • Loading branch information...
1 parent da8062a commit 22d81e95222c3d0fb4215f74526a4732fd450ff8 @kfdm committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gntp/
@@ -86,7 +86,7 @@ def __init__(self, applicationName='Python GNTP', notifications=[],
# saving the config, it should be safe to just add it here so the
# code below doesn't complain
if not config.has_section('gntp'):
- logger.warning('No [gntp] section found in ~/.gntp config file')
+'Error reading ~/.gntp config file')
self.applicationName = applicationName

0 comments on commit 22d81e9

Please sign in to comment.