ensure quote runs on text

fixes #33260
pull/33649/head
Brian Coca 8 years ago committed by Toshio Kuratomi
parent 7ec692ea7f
commit 65ffb92bff

@ -141,7 +141,7 @@ def strftime(string_format, second=None):
def quote(a):
''' return its argument quoted for shell usage '''
return shlex_quote(a)
return shlex_quote(to_text(a))
def fileglob(pathname):

Loading…
Cancel
Save