Skip to content

Commit db71b1a

Browse files
committed
update fix
1 parent 6ae579f commit db71b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def cleanup(*args):
5050

5151
DUMP_CMD = 'mysqldump -h {host} -P {port} -u {user} --password={password} {db} {table} ' \
5252
'--default-character-set=utf8 -X'.format(**config['mysql'])
53-
REMOVE_INVALID_PIPE = r'tr -d "\0\1\2\3\4\5\6\7\8\11\12\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31"'
53+
REMOVE_INVALID_PIPE = r'tr -d "\00\01\02\03\04\05\06\07\10\13\14\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37"'
5454

5555
BINLOG_CFG = {key: config['mysql'][key] for key in ['host', 'port', 'user', 'password', 'db']}
5656
BULK_SIZE = config.get('elastic').get('bulk_size')

0 commit comments

Comments
 (0)