diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -6,7 +6,7 @@ import argparse | |||
| 6 | 6 | ||
| 7 | from src import parser_factory | 7 | from src import parser_factory |
| 8 | 8 | ||
| 9 | def __check_file(filename:str, mode=os.R_OK) -> bool: | 9 | def __check_file(filename:str, mode:int = os.R_OK) -> bool: |
| 10 | if not os.path.isfile(filename): | 10 | if not os.path.isfile(filename): |
| 11 | print("[-] %s is not a regular file." % filename) | 11 | print("[-] %s is not a regular file." % filename) |
| 12 | return False | 12 | return False |
| @@ -53,7 +53,6 @@ def clean_meta(filename:str): | |||
| 53 | def main(): | 53 | def main(): |
| 54 | args = create_arg_parser().parse_args() | 54 | args = create_arg_parser().parse_args() |
| 55 | 55 | ||
| 56 | |||
| 57 | if args.show: | 56 | if args.show: |
| 58 | for f in args.files: | 57 | for f in args.files: |
| 59 | show_meta(f) | 58 | show_meta(f) |
