Commit 2405df04 authored by atenart's avatar atenart Committed by jvoisin

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

Signed-off-by: atenart's avatarAntoine Tenart <>
parent 0e3c2c9b
Pipeline #23516 failed with stages
in 3 minutes and 6 seconds
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment