Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_scene_obj/import_obj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index 4593fc2f..462627bc 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -990,7 +990,7 @@ def load(operator, context, filepath,
'''
print('\nimporting obj %r' % filepath)
- filepath = filepath.encode()
+ filepath = os.fsencode(filepath)
if use_split_objects or use_split_groups:
use_groups_as_vgroups = False