Makes $PIPE and $FILE macros accept utf-8 input

This commit is contained in:
Sébastien Bocahu 2013-04-06 22:00:12 +02:00
commit b94bf051d5
3 changed files with 4 additions and 3 deletions

View file

@ -176,7 +176,7 @@ def _varFind(basedir, text, vars, lookup_fatal, depth, expand_lists):
try:
replacement = instance.run(args, inject=vars)
if expand_lists:
replacement = ",".join([str(x) for x in replacement])
replacement = ",".join([unicode(x) for x in replacement])
except:
if not lookup_fatal:
replacement = None