X-Git-Url: https://code.communitydata.science/mediawiki_dump_tools.git/blobdiff_plain/ba886ecf4c1cc5003882be8fa2f8d2e733471c52..a883cb536b2af1f2120f26104bfc2c29334924ba:/wikiq?ds=inline diff --git a/wikiq b/wikiq index 7a2f8e4..e693cd2 100755 --- a/wikiq +++ b/wikiq @@ -277,7 +277,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", "-dk", input_filename] try: input_file = Popen(cmd, stdout=PIPE).stdout