Updated for list

This commit is contained in:
Dimitris Zlatanidis 2023-05-07 17:03:59 +03:00
parent 0e55075031
commit 1e833dd68e

View file

@ -66,13 +66,13 @@ class ViewMessage(Configs):
if mode == 'upgrade':
color: str = self.violet
if package in self.utils.installed_packages.keys() and mode == 'install':
if package in list(self.utils.installed_packages.keys()) and mode == 'install':
color: str = self.grey
if self.upgrade.is_package_upgradeable(package) and mode == 'install':
color: str = self.violet
if (package in self.utils.installed_packages.keys() and mode == 'install'
if (package in list(self.utils.installed_packages.keys()) and mode == 'install'
and self.option_for_reinstall):
color: str = self.violet