Freeseer / freeseer

Designed for capturing presentations at conferences. Pre-fill a list of talks to record, record them, and upload them to YouTube with our YouTube Uploader.
http://freeseer.readthedocs.org
GNU General Public License v3.0
215 stars 110 forks source link

LogHandler causes exception when non-string is logged #655

Closed farazs closed 9 years ago

farazs commented 9 years ago

If something is logged, other than a string, line 256 in log.py causes a TypeError.

For example: TypeError: unsupported operand type(s) for %: 'int' and 'tuple'

Code that causes this: "message": record.msg % record.args

I think using record.message instead of record.msg % record.args should fix this. I will make a pull request fixing this and the other log bug.