From 7e520744a2c4341c9886f4c57ce15f025ae7c850 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Sun, 10 Nov 2019 16:38:22 -0700 Subject: [PATCH] lzwfs oops --- lzwfs/system/lzwfs.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lzwfs/system/lzwfs.lua b/lzwfs/system/lzwfs.lua index 1661331..edeff99 100644 --- a/lzwfs/system/lzwfs.lua +++ b/lzwfs/system/lzwfs.lua @@ -129,13 +129,13 @@ function tab:eventHandler(event) elseif self.checkbox.value then fs.option('compression', 'filters', filters) for _,v in pairs(filters) do - if not Util.find(config.filters, v) then + if not Util.contains(config.filters, v) then rewriteFiles(v) -- compress end end for _,v in pairs(config.filters) do - if not Util.find(filters, v) then + if not Util.contains(filters, v) then rewriteFiles(v) -- uncompress end end