From 5d7dceb9e4040feef8d2854c2b338a11166f2d81 Mon Sep 17 00:00:00 2001
From: Benjamin Mako Hill <mako@atdot.cc>
Date: Mon, 6 Feb 2017 18:25:17 -0800
Subject: [PATCH] fix code to work with bzip files

---
 wikiq | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wikiq b/wikiq
index b11f3a4..c2ac412 100755
--- a/wikiq
+++ b/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
-- 
2.39.5