mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Switch to modern
This commit is contained in:
parent
771b152189
commit
4256c2733f
4 changed files with 5 additions and 5 deletions
|
@ -57,5 +57,5 @@
|
|||
# than local.
|
||||
wget_options = "-c -N"
|
||||
|
||||
# Choose the view mode. Default is new. [new/old]
|
||||
view_mode = "new"
|
||||
# Choose the view mode. Default is new. [modern/old]
|
||||
view_mode = "modern"
|
|
@ -69,7 +69,7 @@ class Configs:
|
|||
wget_options = '-c -N'
|
||||
|
||||
# Choose the view mode
|
||||
view_mode: str = 'new'
|
||||
view_mode: str = 'modern'
|
||||
|
||||
load = LoadConfigs()
|
||||
configs = load.file(etc_path, prog_name)
|
||||
|
|
|
@ -37,7 +37,7 @@ class Downloader:
|
|||
|
||||
def download(self):
|
||||
""" Start download process. """
|
||||
if self.configs.view_mode == 'new':
|
||||
if self.configs.view_mode == 'modern':
|
||||
self.stderr = subprocess.DEVNULL
|
||||
self.stdout = subprocess.DEVNULL
|
||||
|
||||
|
|
|
@ -261,7 +261,7 @@ class Slackbuilds:
|
|||
stderr = None
|
||||
stdout = None
|
||||
|
||||
if self.configs.view_mode == 'new':
|
||||
if self.configs.view_mode == 'modern':
|
||||
stderr = subprocess.DEVNULL
|
||||
stdout = subprocess.DEVNULL
|
||||
|
||||
|
|
Loading…
Reference in a new issue