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:
PinkDraconian
2022-04-05 23:08:48 +02:00
committed by GitHub
parent 24bf5302c4
commit e526d60a6d

View File

@@ -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)