fix code to work with bzip files
This commit is contained in:
parent
7d8ec932dd
commit
5d7dceb9e4
2
wikiq
2
wikiq
@ -269,7 +269,7 @@ def open_input_file(input_filename):
|
||||
elif re.match(r'.*\.gz', input_filename):
|
||||
cmd = ["zcat", input_filename]
|
||||
elif re.match(r'.*\.bz2', input_filename):
|
||||
cmd = ["zcat", input_filename]
|
||||
cmd = ["bzcat", input_filename]
|
||||
|
||||
try:
|
||||
input_file = Popen(cmd, stdout=PIPE).stdout
|
||||
|
Loading…
Reference in New Issue
Block a user