diff --git a/bin/cqlsh b/bin/cqlsh index 5ccab3dbdd..4bf1b7678f 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -1635,7 +1635,8 @@ class Shell(cmd.Cmd): fname = os.path.expanduser(self.cql_unprotect_value(fname)) copyoptnames = map(str.lower, parsed.get_binding('optnames', ())) copyoptvals = map(self.cql_unprotect_value, parsed.get_binding('optvals', ())) - opts = dict(zip(copyoptnames, copyoptvals)) + cleancopyoptvals = [optval.decode('string-escape') for optval in copyoptvals] + opts = dict(zip(copyoptnames, cleancopyoptvals)) timestart = time.time()