X-Git-Url: https://code.communitydata.science/mediawiki_dump_tools.git/blobdiff_plain/d2746879d09ca64418de41f34a33b11b205a101d..e925ac9da10b20ab4ef949263887a1f9158e805f:/wikiq?ds=sidebyside 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