summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/cache/flat_hash.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/flat_hash.py b/pym/cache/flat_hash.py
index b255b56e2..dfa7ad0c7 100644
--- a/pym/cache/flat_hash.py
+++ b/pym/cache/flat_hash.py
@@ -82,7 +82,7 @@ class database(fs_template.FsBased):
for k, v in values.items():
if k != "_mtime_" and (k == "_eclasses_" or k in self._known_keys):
- myf.write(("%s=%s\n" % (k, v)).encode("utf-8"))
+ myf.write("%s=%s\n" % (k, v))
myf.close()
self._ensure_access(fp, mtime=values["_mtime_"])