settings: Fix double negative in LOGGING_NOT_DISABLED.

Saying "not disabled" just makes it more work to read than it needs to
be -- instead say ENABLED.
This commit is contained in:
Greg Price
2018-03-20 16:53:39 -07:00
committed by Greg Price
parent 73559e5320
commit fe0f1edddb
3 changed files with 6 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ class ReturnTrue(logging.Filter):
class ReturnEnabled(logging.Filter):
def filter(self, record: logging.LogRecord) -> bool:
return settings.LOGGING_NOT_DISABLED
return settings.LOGGING_ENABLED
class RequireReallyDeployed(logging.Filter):
def filter(self, record: logging.LogRecord) -> bool: