Skip to content

fixed UnicodeEncodeError in hamster-cli

Dirk HOFFMANN requested to merge github/fork/laoghaire/utf8-encoding-bugfig into master

Created by: laoghaire

this occured, using the german lang package and the command "hamster list"

Traceback (most recent call last): File "/usr/bin/hamster", line 391, in getattr(hamster_client, command)(*args) File "/usr/bin/hamster", line 254, in list self._list(start_time, end_time) File "/usr/bin/hamster", line 313, in _list print fact_line.format(**headers) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 1: ordinal not in range(128)

Merge request reports