From 2531a5705004fdb04e6c3de79e8a9079f4a98218 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 3 May 2023 17:52:51 +0200 Subject: Fixing starting of service via str argument (#1779) --- archinstall/lib/installer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index b6eaa797..72ec534c 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -570,6 +570,8 @@ class Installer: def enable_service(self, services: Union[str, List[str]]) -> None: if type(services[0]) in (list, tuple): services = services[0] + if type(services) == str: + services = [services, ] for service in services: self.log(f'Enabling service {service}', level=logging.INFO) -- cgit v1.2.3-70-g09d2