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:
parent
0e3c2c9b1b
commit
2405df0469
2
mat2
2
mat2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user