Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2021-04-07 09:28:16 +0200
committerGitHub <noreply@github.com>2021-04-07 09:28:16 +0200
commit86699ae23ebb3eabb3817ccb456eb1ddd9dcebbf (patch)
treea3306cb2acf8d3afccbee8dd9b50335ab7ae1f9c /examples
parentfb2c9aca397f6fc0ffba097b4c4dcb5e96257362 (diff)
Switched from print to installation.log
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 74df899f..a5442d77 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -333,7 +333,7 @@ def perform_installation(device, boot_partition, language, mirrors):
installation.enable_service('systemd-networkd')
installation.enable_service('systemd-resolved')
- print('This audio server will be used: ' + archinstall.arguments.get('audio', None))
+ installation.log(f"The {archinstall.arguments.get('audio', None)} audio server will be used.", level=archinstall.LOG_LEVELS.Info)
if archinstall.arguments.get('audio', None) == 'pipewire':
print('Installing pipewire ...')
installation.add_additional_packages(["pipewire", "pipewire-alsa", "pipewire-docs", "pipewire-jack", "pipewire-media-session", "pipewire-pulse", "gst-plugin-pipewire", "libpulse"])