Skip to content

Commit 7386c26

Browse files
authored
Merge pull request #3 from datahappy1/minor_polishing
Merge pull request #2 from datahappy1/main
2 parents bd7d661 + 71d3637 commit 7386c26

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

‎notes_app/file.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ def __init__(self, file_path, controller, defaults):
6060
str, str
6161
] = self._transform_raw_data_content_to_data_by_sections()
6262

63-
@staticmethod
64-
def get_validated_file_path(file_path):
65-
try:
66-
with open(file=file_path, mode="r"):
67-
pass
68-
except (PermissionError, FileNotFoundError, IsADirectoryError):
69-
return
70-
return file_path
71-
7263
def _get_validated_raw_data(self, raw_data) -> str:
7364
matches = re.findall(
7465
self.defaults.DEFAULT_SECTION_FILE_SEPARATOR_REGEX, raw_data

0 commit comments

Comments
 (0)