1
0
Fork 0

mat2: fix typo in error message when a file does not exist

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
This commit is contained in:
Antoine Tenart 2019-03-22 12:26:50 +01:00 committed by jvoisin
parent 0e3c2c9b1b
commit 2405df0469
1 changed files with 1 additions and 1 deletions

2
mat2
View File

@ -26,7 +26,7 @@ logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.WARNING)
def __check_file(filename: str, mode: int = os.R_OK) -> bool:
if not os.path.exists(filename):
print("[-] %s is doesn't exist." % filename)
print("[-] %s doesn't exist." % filename)
return False
elif not os.path.isfile(filename):
print("[-] %s is not a regular file." % filename)