Fix for check enable

This commit is contained in:
Dimitris Zlatanidis 2024-03-18 00:09:54 +02:00
parent df28f57936
commit 11a5540d8a

View file

@ -46,8 +46,8 @@ class CheckUpdates(Configs):
return self.compare
def check_updates_for_repositories(self) -> None:
for repo in list(self.repos.repositories.keys()):
if self.repos.repositories[repo]['enable']:
for repo, enable in self.repos.repositories.items():
if enable:
self.repositories(repo)
def repositories(self, repo: str) -> None: