plantuml icon indicating copy to clipboard operation
plantuml copied to clipboard

Prevent a TypeError Exception

Open stratosgear opened this issue 5 years ago • 1 comments

Under my Python 3.6.6 env I get a:

TypeError: must be str, not bytes

without this fix.

stratosgear avatar Mar 31 '19 22:03 stratosgear

It doesn't look correct to enforce the encoding of the process I/O. Maybe we'll need to translate serr back to a unicode string. (or simply use %r instead of %s to ditch the TypeError.)

yuja avatar Mar 31 '19 22:03 yuja