Updated for str type

This commit is contained in:
Dimitris Zlatanidis 2023-05-13 17:52:03 +03:00
parent 381b6fedeb
commit 78395a8d71

View file

@ -95,7 +95,7 @@ class Utilities(Configs):
def read_slackbuild_build_tag(self, sbo: str, location: str, repository: str) -> str:
""" Returns build tag from .SlackBuild file. """
build: str = ''
build: str = str()
sbo_script = Path(self.repos.repositories[repository]['path'], location, sbo, f'{sbo}.SlackBuild')
if sbo_script.is_file():