Fixed a silly bug in [18040]. 'settings' isn't a dictionary.
- Legacy-Id: 18043
Note: SVN reference [18040] has been migrated to Git commit e1ed51b0b6
This commit is contained in:
parent
649831e7c7
commit
595dcb75e9
|
@ -62,7 +62,7 @@ def log(msg, e=None):
|
|||
pass
|
||||
_logfunc = logfunc
|
||||
if settings.SERVER_MODE == 'test':
|
||||
if settings.get('show_logging', False) is True:
|
||||
if getattr(settings, 'show_logging', False) is True:
|
||||
_logfunc = debug.say
|
||||
_flushfunc = sys.stdout.flush # pyflakes:ignore (intentional redefinition)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue