Updated for naming

This commit is contained in:
Dimitris Zlatanidis 2023-05-18 19:30:40 +03:00
parent a7624c8430
commit e116ecdc5b

View file

@ -22,9 +22,9 @@ class InstallData(Configs):
self.repos = Repositories()
self.ascii = AsciiBox()
def last_updated(self, repo_file: Path) -> str:
def last_updated(self, changelog_file: Path) -> str:
""" Reads the first date of the changelog file."""
lines: list = self.utils.read_text_file(repo_file)
lines: list = self.utils.read_text_file(changelog_file)
days = ('Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun')
for line in lines:
if line.startswith(days):