Fix the raven conditional requirement

This commit is contained in:
Nate Coraor
2015-10-26 15:36:54 -04:00
parent d90ba82e92
commit 9503f1ddf3
+1 -1
View File
@@ -62,7 +62,7 @@ class ConditionalDependencies( object ):
return asbool( self.config["fluent_log"] )
def check_raven( self ):
return asbool( self.config["sentry_dsn"] )
return self.config.get("sentry_dsn", None) is not None
def check_weberror( self ):
return ( asbool( self.config["debug"] ) and