jeetsukumaran / Syrupy

System Resource Usage Profiler
http://jeetworks.org/programs/syrupy
GNU General Public License v3.0
194 stars 27 forks source link

Update syrupy.py to prevent unicode error #15

Closed haochenpan closed 5 years ago

haochenpan commented 5 years ago

Hi,

After deploying Syrupy on the cloud environment, sometimes Syrupy gives an error says

"UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position xxxx"

before monitoring begins. Adding this line would solve the issue.

Thanks, Roger