X-Git-Url: https://code.communitydata.science/mediawiki_dump_tools.git/blobdiff_plain/ba886ecf4c1cc5003882be8fa2f8d2e733471c52..e925ac9da10b20ab4ef949263887a1f9158e805f:/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