1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Oups, fix the build

This commit is contained in:
jvoisin 2018-04-04 23:18:32 +02:00
parent 972de8469e
commit d830760d4f

View File

@ -1,13 +1,12 @@
#!/usr/bin/python3 #!/usr/bin/python3
import os import os
import sys
import mimetypes import mimetypes
from shutil import copyfile
import argparse import argparse
from src import parser_factory from src import parser_factory
def __check_file(filename:str, mode:int = os.R_OK) -> bool: def __check_file(filename:str, mode:int = os.R_OK) -> bool:
if not os.path.isfile(filename): if not os.path.isfile(filename):
print("[-] %s is not a regular file." % filename) print("[-] %s is not a regular file." % filename)
@ -83,10 +82,10 @@ def main():
return return
if args.show: if args.show:
for f in get_files_recursively(args.files): for f in __get_files_recursively(args.files):
show_meta(f) show_meta(f)
else: else:
for f in get_files_recursively(args.files): for f in __get_files_recursively(args.files):
clean_meta(f) clean_meta(f)