97a98,99
>         if isinstance(output, types.GeneratorType):
>             output = "".join(output)

