Switch to modern

This commit is contained in:
Dimitris Zlatanidis 2023-01-02 18:09:12 +02:00
parent 771b152189
commit 4256c2733f
4 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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)

View file

@ -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

View file

@ -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