mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
Remove double printing of log (#2033)
* Fix double logging in log() function Co-authored-by: Kevin Chung <kchung@ctfd.io>
This commit is contained in:
@@ -16,5 +16,4 @@ def log(logger, format, **kwargs):
|
|||||||
}
|
}
|
||||||
props.update(kwargs)
|
props.update(kwargs)
|
||||||
msg = format.format(**props)
|
msg = format.format(**props)
|
||||||
print(msg)
|
|
||||||
logger.info(msg)
|
logger.info(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user