Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-05-03 17:52:51 +0200
committerGitHub <noreply@github.com>2023-05-03 17:52:51 +0200
commit2531a5705004fdb04e6c3de79e8a9079f4a98218 (patch)
tree2cdab37525604abf63ef3b16a3407b700cb5552a
parent2d06cf592a15e69911ffa82e7d86d832bf8ca89c (diff)
Fixing starting of service via str argument (#1779)
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 2 insertions, 0 deletions
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)