On Mon, Jan 7, 2013 at 1:40 AM, Kurt Hansen <kurt at ugyldig.invalid> wrote: > failed: cannot concatenate 'str' and 'tuple' objects The problem is this line: output += '<tr><td colspan="3">', line, '</td></tr>' Change it to: output += '<tr><td colspan="3">' + line + '</td></tr>' ChrisA