Skip to content

Commit 8447096

Browse files
committed
FIX: quote field delimited for sort
1 parent 1c739e4 commit 8447096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabtools/scripts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def ttsort():
102102

103103
fields = [f.title for f in files.header.fields]
104104
options = [
105-
'--field-separator=' + str(files.header.delimiter),
105+
'--field-separator=' + quote(files.header.delimiter),
106106
] + [
107107
'-k{0},{0}'.format(fields.index(key) + 1) for key in args.keys
108108
]

0 commit comments

Comments
 (0)