Collin Funk wrote:
> Apparently str.isspace() will return False for empty strings:
> 
> print('\t'.isspace())
> True
> print('\n'.isspace())
> True
> print(''.isspace())
> False

Oh, indeed. It's actually documented like this.

> I've changed those conditions to the following:
> 
>    if (amsnippet1 + amsnippet2).strip() != '':

That's good. Thanks! Applied.

Bruno




Reply via email to