Exception for text in file

main
Bob Mottram 2022-06-10 11:40:47 +01:00
parent 4e29c26ad4
commit 6404f36b4a
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def text_in_file(text: str, filename: str) -> bool:
if text in content:
return True
except OSError:
pass
print('EX: unable to find text in missing file ' + filename)
return False