Fix for split

This commit is contained in:
Dimitris Zlatanidis 2024-03-16 22:43:43 +02:00
parent 08b16023bf
commit 76f051d1d3

View file

@ -72,9 +72,9 @@ class DownloadOnly(Configs):
def save_slackbuild_sources(self, name: str) -> None: def save_slackbuild_sources(self, name: str) -> None:
if self.os_arch == 'x86_64' and self.data[name]['download64']: if self.os_arch == 'x86_64' and self.data[name]['download64']:
sources: tuple = self.data[name]['download64'].split() sources: tuple = self.data[name]['download64']
else: else:
sources: tuple = self.data[name]['download'].split() sources: tuple = self.data[name]['download']
self.urls[name] = (sources, Path(self.build_path, name)) self.urls[name] = (sources, Path(self.build_path, name))
def copy_slackbuild_scripts(self, name: str) -> None: def copy_slackbuild_scripts(self, name: str) -> None: