diff options
Diffstat (limited to 'io_scene_obj/import_obj.py')
-rw-r--r-- | io_scene_obj/import_obj.py | 2 |
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 |