Fixed: TypeError: unhashable type: 'slice'

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-06 23:03:55 +03:00
parent 98df68f20c
commit cf490d3bfe

View file

@ -538,7 +538,7 @@ class Menu(Configs): # pylint: disable=[R0902]
self.check.package_exists_in_the_database(packages, self.data)
if self.repository in list(self.repos.repositories[:2]):
if self.repository in list(self.repos.repositories)[:2]:
build = Slackbuilds(
self.repository, self.data, packages, self.flags, mode=command
)