Tweaks to Test Button logic and cleans up flake8 and test failures

This commit is contained in:
Christian Adams
2020-03-16 12:42:08 -04:00
parent 7fd79b8e54
commit d350551547
12 changed files with 119 additions and 126 deletions

View File

@@ -12,7 +12,7 @@ from django.conf import settings
class RSysLogHandler(logging.handlers.SysLogHandler):
def emit(self, msg):
if not os.path.exists(settings.LOGGING['handlers']['external_logger']):
if not os.path.exists(settings.LOGGING['handlers']['external_logger']['address']):
return
return super(RSysLogHandler, self).emit(msg)