ybrs / single-beat

ensures only one instance of your process across your servers
MIT License
173 stars 35 forks source link

Unicodedecode patch #48

Closed chripede closed 2 years ago

chripede commented 2 years ago

We had problems with single-beat crashing when we output log messages containing utf-8 characters. Always reading 100 bytes would sometimes split a unicode character in two, resulting in UnicodeDecodeError.

This fixes that.

ybrs commented 2 years ago

Nice. Thanks for the patch.

ybrs commented 2 years ago

Just fyi. I've just updated pypi package.