Correct Python trap with string formatting

It would try to convert the items of a tuple to arguments of the
string formatting, and would raise the following error:

TypeError: not all arguments converted during string formatting