From bad09883a41810b5ad76876b384ad028277e6c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Sat, 10 Jun 2017 09:39:10 +0200 Subject: [PATCH] Fix T51692: issue when passing temporary directory. Since BAM wants to handle all paths as bytes, care should be taken to always encode. --- bam/blend/blendfile_pack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bam/blend/blendfile_pack.py b/bam/blend/blendfile_pack.py index 8a021d9..706b109 100755 --- a/bam/blend/blendfile_pack.py +++ b/bam/blend/blendfile_pack.py @@ -661,7 +661,7 @@ def main(): args.path_src.encode('utf8'), args.path_dst.encode('utf8'), mode=args.mode, - base_dir_dst_temp=args.temp_path, + base_dir_dst_temp=args.temp_path.encode('utf8'), filename_filter=exclusion_filter(args.exclude), ): report(msg)