summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorjvoisin2018-04-16 22:06:55 +0200
committerjvoisin2018-04-16 22:06:55 +0200
commitc5f51345029440ab80cfa1670d554a9d851d57c4 (patch)
tree91096726e2457713a9ab710f77614f4f4b959b85 /main.py
parent6893de6e585edbbc065c9d92f286d58608ab08c2 (diff)
Fix the main.py file
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py3
1 files changed, 2 insertions, 1 deletions
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):
88 f = q.get() 88 f = q.get()
89 if f is None: # nothing more to process 89 if f is None: # nothing more to process
90 return 90 return
91 clean_meta(is_lightweigth, f) 91 clean_meta(f, is_lightweigth)
92 q.task_done() 92 q.task_done()
93 93
94 94
@@ -108,6 +108,7 @@ def main():
108 return 108 return
109 109
110 else: # Thread the cleaning 110 else: # Thread the cleaning
111 mode = (args.lightweight is True)
111 q = Queue(maxsize=0) 112 q = Queue(maxsize=0)
112 threads = list() 113 threads = list()
113 for f in __get_files_recursively(args.files): 114 for f in __get_files_recursively(args.files):