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
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-09 11:46:53 -0400
commitdbea18dab868dd4e32a2e72628dcb75a159f87a9 (patch)
tree055b422bb780fe66a18499ce3662c4089115999d /examples
parentd252e090a646275b8e0d3b19070577f9884aba58 (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 f7078242..490fbe96 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -282,7 +282,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"])