fixed encoding issue for a warning
This commit is contained in:
parent
f8ca5c8e9c
commit
3917269a28
2
gcp
2
gcp
|
@ -239,7 +239,7 @@ class GCP():
|
|||
for path in args:
|
||||
abspath = os.path.normpath(os.path.join(os.path.expanduser(source_path), path))
|
||||
if not os.path.exists(abspath):
|
||||
warning(_("The path given in arg doesn't exist or is not accessible: %s") % abspath)
|
||||
warning(_("The path given in arg doesn't exist or is not accessible: %s") % abspath.decode('utf-8','replace'))
|
||||
else:
|
||||
if os.path.isdir(abspath):
|
||||
full_dest_path = dest_path if os.path.isabs(path) else os.path.normpath(os.path.join(dest_path, path))
|
||||
|
|
Loading…
Reference in New Issue