mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for ascii
This commit is contained in:
parent
983432aa90
commit
c940b03632
1 changed files with 3 additions and 2 deletions
|
@ -3,13 +3,14 @@
|
|||
|
||||
from pathlib import Path
|
||||
from slpkg.configs import Configs
|
||||
|
||||
from slpkg.views.asciibox import AsciiBox
|
||||
|
||||
class SBoGenerate(Configs):
|
||||
""" Generating the SLACKBUILDS.TXT file. """
|
||||
|
||||
def __init__(self):
|
||||
super(Configs, self).__init__()
|
||||
self.ascii = AsciiBox()
|
||||
|
||||
def slackbuild_file(self, repo_path: Path, repo_slackbuild_txt: str) -> None:
|
||||
print(f'Generating the {repo_slackbuild_txt} file... ', end='', flush=True)
|
||||
|
@ -74,7 +75,7 @@ class SBoGenerate(Configs):
|
|||
sbo.write(f'SLACKBUILD SHORT DESCRIPTION: {short_description}\n')
|
||||
sbo.write('\n')
|
||||
|
||||
print(f'{self.byellow}Done{self.endc}\n')
|
||||
print(f'{self.byellow}{self.ascii.done}{self.endc}\n')
|
||||
|
||||
@staticmethod
|
||||
def read_short_description(path: Path, name: str) -> str:
|
||||
|
|
Loading…
Add table
Reference in a new issue