1
0
mirror of synced 2024-11-25 18:54:22 +01:00

Fix the main.py file

This commit is contained in:
jvoisin 2018-04-16 22:06:55 +02:00
parent 6893de6e58
commit c5f5134502

View File

@ -88,7 +88,7 @@ def __do_clean_async(is_lightweigth, q):
f = q.get() f = q.get()
if f is None: # nothing more to process if f is None: # nothing more to process
return return
clean_meta(is_lightweigth, f) clean_meta(f, is_lightweigth)
q.task_done() q.task_done()
@ -108,6 +108,7 @@ def main():
return return
else: # Thread the cleaning else: # Thread the cleaning
mode = (args.lightweight is True)
q = Queue(maxsize=0) q = Queue(maxsize=0)
threads = list() threads = list()
for f in __get_files_recursively(args.files): for f in __get_files_recursively(args.files):