mirror of
https://github.com/ansible/awx.git
synced 2026-08-02 19:10:00 -02:30
Tweaks to Test Button logic and cleans up flake8 and test failures
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user