From c5f51345029440ab80cfa1670d554a9d851d57c4 Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Mon, 16 Apr 2018 22:06:55 +0200
Subject: [PATCH] Fix the main.py file

---
 main.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main.py b/main.py
index 2cb05ff..810bf8b 100755
--- a/main.py
+++ b/main.py
@@ -88,7 +88,7 @@ def __do_clean_async(is_lightweigth, q):
         f = q.get()
         if f is None:  # nothing more to process
             return
-        clean_meta(is_lightweigth, f)
+        clean_meta(f, is_lightweigth)
         q.task_done()
 
 
@@ -108,6 +108,7 @@ def main():
         return
 
     else:  # Thread the cleaning
+        mode = (args.lightweight is True)
         q = Queue(maxsize=0)
         threads = list()
         for f in __get_files_recursively(args.files):
-- 
GitLab