1
0
mirror of synced 2024-12-23 05:09:58 +01:00

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

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)