Fix traceback syntax error