diff --git a/src/bitrot.py b/src/bitrot.py index a34c4f7..f73829e 100755 --- a/src/bitrot.py +++ b/src/bitrot.py @@ -252,7 +252,7 @@ class Bitrot(object): print( '\rerror: SHA1 mismatch for {}: expected {}, got {}.' ' Last good hash checked on {}.'.format( - p, stored_sha1, new_sha1, stored_ts + p.decode(FSENCODING), stored_sha1, new_sha1, stored_ts ), file=sys.stderr, ) @@ -344,9 +344,9 @@ class Bitrot(object): for path in renamed_paths: print( ' from', - path[0].decode(FSENCODING), + path[0], 'to', - path[1].decode(FSENCODING), + path[1], ) if missing_paths: print('{} entries missing:'.format(len(missing_paths)))