Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-04-01 20:29:52 +03:00
parent 4b8e5fedff
commit c9e50f72b3

View file

@ -34,6 +34,9 @@ class UpdateRepository(Configs):
self.utils = Utilities()
self.color = self.colour()
self.data = InstallData()
self.check_updates = CheckUpdates(
self.flags, self.repo
)
self.repos_for_update: dict = {}
self.bold: str = self.color['bold']
@ -493,8 +496,7 @@ class UpdateRepository(Configs):
os.makedirs(path)
def check(self, queue) -> None:
check_updates = CheckUpdates(self.flags, self.repo)
compare = check_updates.check()
compare = self.check_updates.check()
is_update: dict = {}
for repo, comp in compare.items():