diff -r a80a66ba52d6 -r 9f6f46dbe3ae util/paths.py --- a/util/paths.py Fri Oct 28 13:06:52 2022 +0800 +++ b/util/paths.py Fri Oct 28 14:07:13 2022 +0800 @@ -23,14 +23,12 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - import os import sys -from builtins import str as text def AbsFile(file): if isinstance(file, str): - file = text(file, sys.getfilesystemencoding()) + file = str(file, sys.getfilesystemencoding()) return file