diff --git a/main.py b/main.py index 2c580f8..c6b4b21 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ import argparse from src import parser_factory -def __check_file(filename:str, mode=os.R_OK) -> bool: +def __check_file(filename:str, mode:int = os.R_OK) -> bool: if not os.path.isfile(filename): print("[-] %s is not a regular file." % filename) return False @@ -53,7 +53,6 @@ def clean_meta(filename:str): def main(): args = create_arg_parser().parse_args() - if args.show: for f in args.files: show_meta(f)