diff --git a/slpkg/blacklist.py b/slpkg/blacklist.py index 9bb50b8f..3b9f3cfb 100644 --- a/slpkg/blacklist.py +++ b/slpkg/blacklist.py @@ -11,10 +11,10 @@ from slpkg.configs import Configs @dataclass class Blacklist: + ''' Reads and returns the blacklist. ''' etc_path: str = Configs.etc_path def get(self): - ''' Reads and returns the blacklist. ''' file = f'{self.etc_path}/blacklist.json' if os.path.isfile(file): with open(file, 'r') as black: diff --git a/slpkg/search.py b/slpkg/search.py index f69888eb..c0c760f2 100644 --- a/slpkg/search.py +++ b/slpkg/search.py @@ -34,8 +34,7 @@ class Search: SBoTable.files, SBoTable.short_description, SBoTable.location - ).filter( - SBoTable.name == package).first() + ).filter(SBoTable.name == package).first() print(f'Name: {GREEN}{info[0]}{ENDC}\n' f'Version: {GREEN}{info[1]}{ENDC}\n'