Skip to content
Snippets Groups Projects
Commit 2405df04 authored by atenart's avatar atenart Committed by jvoisin
Browse files

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

parent 0e3c2c9b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment