Oups, fix the build
This commit is contained in:
parent
972de8469e
commit
d830760d4f
7
main.py
7
main.py
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user