diff -r 2e8bf28a8909 -r 07f48018b6f5 util/paths.py --- a/util/paths.py Thu Oct 04 12:09:23 2018 +0300 +++ b/util/paths.py Thu Oct 04 17:24:40 2018 +0300 @@ -26,11 +26,12 @@ from __future__ import absolute_import import os import sys +from builtins import str as text def AbsFile(file): if isinstance(file, str): - file = unicode(file, sys.getfilesystemencoding()) + file = text(file, sys.getfilesystemencoding()) return file